Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 219.8 kB / 23.03 MB, free: 4.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.517/1.517, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.261/3.261, allocations: 0.49 GB / 0.7959 GB, free: 35.39 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 68.2 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3694, allocations: 176.1 MB / 1.327 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001889/0.3713, allocations: 0.6576 MB / 1.327 GB, free: 0.793 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001227/0.3714, allocations: 7.938 kB / 1.327 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.255e-05/0.3714, allocations: 0 / 1.327 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 9.649e-05/0.3715, allocations: 11.86 kB / 1.327 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.684e-05/0.3716, allocations: 7.984 kB / 1.327 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 6.616e-05/0.3716, allocations: 4 kB / 1.327 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.378e-05/0.3717, allocations: 31.86 kB / 1.327 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.3718, allocations: 15.98 kB / 1.327 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.694e-05/0.3719, allocations: 19.92 kB / 1.327 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.967e-05/0.3719, allocations: 11.94 kB / 1.327 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.3719, allocations: 4 kB / 1.327 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.327e-05/0.3719, allocations: 4 kB / 1.327 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.312e-05/0.372, allocations: 11.98 kB / 1.327 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.682e-05/0.372, allocations: 15.88 kB / 1.327 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.3721, allocations: 52.02 kB / 1.327 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3721, allocations: 4 kB / 1.327 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3721, allocations: 0 / 1.327 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.3721, allocations: 0 / 1.327 GB, free: 0.5938 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003491/0.3725, allocations: 278.2 kB / 1.328 GB, free: 296 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.3725, allocations: 8.031 kB / 1.328 GB, free: 288 kB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.487e-05/0.3725, allocations: 192 / 1.328 GB, free: 288 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.527e-05/0.3725, allocations: 46.67 kB / 1.328 GB, free: 232 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.561e-05/0.3726, allocations: 4.938 kB / 1.328 GB, free: 228 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.3727, allocations: 114.5 kB / 1.328 GB, free: 88 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.3727, allocations: 4.375 kB / 1.328 GB, free: 84 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.397e-06/0.3727, allocations: 4.375 kB / 1.328 GB, free: 80 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.3729, allocations: 86.31 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3729, allocations: 0 / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.3729, allocations: 0 / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.3729, allocations: 4 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.843e-05/0.373, allocations: 55.89 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005419/0.3736, allocations: 454.3 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.3737, allocations: 181.1 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.258e-05/0.3737, allocations: 80.14 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/0.3737, allocations: 75.28 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.853e-05/0.3738, allocations: 105.8 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.293e-06/0.3738, allocations: 0 / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.116e-05/0.3739, allocations: 33.66 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.281e-05/0.374, allocations: 134.6 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.3741, allocations: 171.4 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.3742, allocations: 29.7 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.489e-05/0.3742, allocations: 100.1 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.805e-06/0.3742, allocations: 0 / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.689e-05/0.3743, allocations: 17.72 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3744, allocations: 314.8 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.036e-05/0.3744, allocations: 15.94 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.425e-05/0.3745, allocations: 7.984 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.029e-05/0.3745, allocations: 12.97 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3745, allocations: 3.938 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001351/0.3746, allocations: 65.62 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.3746, allocations: 4 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3746, allocations: 0 / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.3747, allocations: 3.938 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.05e-05/0.3747, allocations: 4 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.3747, allocations: 4 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.835e-05/0.3748, allocations: 7.938 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.3748, allocations: 0 / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001337/0.3749, allocations: 193.6 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.887e-05/0.375, allocations: 112.9 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.112e-05/0.3751, allocations: 120.8 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.131e-05/0.3751, allocations: 180.2 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.873e-05/0.3752, allocations: 176.3 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.721e-05/0.3753, allocations: 184.2 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002545/0.3755, allocations: 388.3 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.546e-05/0.3756, allocations: 104.9 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.838e-05/0.3756, allocations: 105 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.922e-05/0.3757, allocations: 176.3 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-05/0.3758, allocations: 184.2 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.048e-05/0.3759, allocations: 188.2 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.051e-05/0.376, allocations: 184.2 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.3761, allocations: 315.8 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.499e-05/0.3762, allocations: 109 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.974e-05/0.3763, allocations: 176.3 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.3764, allocations: 113.2 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.89e-05/0.3765, allocations: 176.3 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-05/0.3765, allocations: 113 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000115/0.3767, allocations: 132.9 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3767, allocations: 0 / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002339/0.3769, allocations: 4 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005854/0.3775, allocations: 0.8166 MB / 1.334 GB, free: 9.602 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.097e-05/0.3776, allocations: 11.98 kB / 1.334 GB, free: 9.59 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3776, allocations: 3.938 kB / 1.334 GB, free: 9.586 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.3776, allocations: 0 / 1.334 GB, free: 9.586 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005127/0.3781, allocations: 473.6 kB / 1.334 GB, free: 9.121 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.3795, allocations: 1.594 MB / 1.336 GB, free: 7.445 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.927e-05/0.3796, allocations: 79.25 kB / 1.336 GB, free: 7.348 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.449e-05/0.3796, allocations: 4 kB / 1.336 GB, free: 7.344 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.08e-05/0.3796, allocations: 23.5 kB / 1.336 GB, free: 7.32 MB / 1.029 GB Notification: Performance of SimCode: time 4.6e-07/0.3796, allocations: 0 / 1.336 GB, free: 7.32 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02171/0.4014, allocations: 1.804 MB / 1.338 GB, free: 5.668 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.98, allocations: 8.062 kB / 1.338 GB, free: 5.66 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.03275075997226]