Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.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.001692/0.001692, allocations: 101.9 kB / 19.73 MB, free: 2.109 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.002039/0.002039, allocations: 222.5 kB / 23.03 MB, free: 4.906 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.4/1.4, 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.107/3.107, allocations: 0.49 GB / 0.7959 GB, free: 35.65 MB / 0.6231 GB " [Timeout remaining time 177] 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.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent",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.001928/0.001928, allocations: 65.38 kB / 1.155 GB, free: 25.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3759, allocations: 176.1 MB / 1.327 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1828/0.5587, allocations: 141 MB / 1.464 GB, free: 3.941 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.00571/0.5644, allocations: 3.533 MB / 1.468 GB, free: 404 kB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004453/0.5648, allocations: 19.81 kB / 1.468 GB, free: 384 kB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006715/0.5655, allocations: 178.8 kB / 1.468 GB, free: 204 kB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002317/0.5678, allocations: 0.8635 MB / 1.469 GB, free: 15.33 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.569, allocations: 443.5 kB / 1.469 GB, free: 14.9 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001502/0.5705, allocations: 1.057 MB / 1.47 GB, free: 13.84 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00041/0.5709, allocations: 227 kB / 1.47 GB, free: 13.61 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001246/0.5721, allocations: 0.615 MB / 1.471 GB, free: 13 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009943/0.5731, allocations: 340.7 kB / 1.471 GB, free: 12.66 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 6.461e-05/0.5732, allocations: 35.94 kB / 1.471 GB, free: 12.63 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001276/0.5745, allocations: 0.5961 MB / 1.472 GB, free: 12.03 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002258/0.5747, allocations: 167.5 kB / 1.472 GB, free: 11.87 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002337/0.5749, allocations: 179.2 kB / 1.472 GB, free: 11.69 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001245/0.5762, allocations: 0.7396 MB / 1.473 GB, free: 10.95 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.5762, allocations: 0 / 1.473 GB, free: 10.95 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5762, allocations: 0 / 1.473 GB, free: 10.95 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.5762, allocations: 0 / 1.473 GB, free: 10.95 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.00121/0.5774, allocations: 0.6758 MB / 1.474 GB, free: 10.24 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.5774, allocations: 11.97 kB / 1.474 GB, free: 10.23 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.105e-05/0.5775, allocations: 8.656 kB / 1.474 GB, free: 10.22 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.029e-05/0.5775, allocations: 62.55 kB / 1.474 GB, free: 10.15 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/0.5786, allocations: 163.5 kB / 1.474 GB, free: 9.992 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006434/0.5793, allocations: 332.2 kB / 1.474 GB, free: 9.637 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.5793, allocations: 28.66 kB / 1.474 GB, free: 9.609 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.048e-05/0.5794, allocations: 31.95 kB / 1.474 GB, free: 9.578 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006562/0.58, allocations: 432.8 kB / 1.475 GB, free: 9.125 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.58, allocations: 0 / 1.475 GB, free: 9.125 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.406e-05/0.5801, allocations: 12 kB / 1.475 GB, free: 9.113 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.5801, allocations: 8 kB / 1.475 GB, free: 9.105 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005521/0.5806, allocations: 306.4 kB / 1.475 GB, free: 8.805 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001642/0.5823, allocations: 0.8626 MB / 1.476 GB, free: 7.895 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004879/0.5827, allocations: 275.4 kB / 1.476 GB, free: 7.617 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000283/0.583, allocations: 171 kB / 1.476 GB, free: 7.449 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002281/0.5833, allocations: 40.25 kB / 1.476 GB, free: 7.41 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/0.5833, allocations: 38.84 kB / 1.476 GB, free: 7.363 MB / 1.17 GB Notification: Performance of pre-optimization done (n=33): time 2.184e-06/0.5833, allocations: 0 / 1.476 GB, free: 7.363 MB / 1.17 GB Notification: Performance of matching and sorting (n=35): time 0.00218/0.5855, allocations: 0.9665 MB / 1.477 GB, free: 6.363 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.5855, allocations: 55.41 kB / 1.477 GB, free: 6.297 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003529/0.5859, allocations: 320.5 kB / 1.478 GB, free: 5.98 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.5859, allocations: 29.7 kB / 1.478 GB, free: 5.945 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.5861, allocations: 180.8 kB / 1.478 GB, free: 5.766 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.5862, allocations: 126.9 kB / 1.478 GB, free: 5.641 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.5863, allocations: 73.62 kB / 1.478 GB, free: 5.562 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.5865, allocations: 342.8 kB / 1.478 GB, free: 5.219 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000226/0.5867, allocations: 115.7 kB / 1.479 GB, free: 5.105 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003423/0.587, allocations: 269.7 kB / 1.479 GB, free: 4.809 MB / 1.17 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: dynBal.medium.p = dynBal.p_start (sin.p = dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00182/0.5889, allocations: 0.6809 MB / 1.479 GB, free: 4.121 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5889, allocations: 0 / 1.479 GB, free: 4.121 MB / 1.17 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006305/0.5895, allocations: 357 kB / 1.48 GB, free: 3.766 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.5895, allocations: 8 kB / 1.48 GB, free: 3.758 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.5895, allocations: 3.938 kB / 1.48 GB, free: 3.754 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.5895, allocations: 0 / 1.48 GB, free: 3.754 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003206/0.5899, allocations: 71.94 kB / 1.48 GB, free: 3.684 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.5899, allocations: 4 kB / 1.48 GB, free: 3.68 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003343/0.5902, allocations: 13.55 kB / 1.48 GB, free: 3.668 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.604e-05/0.5902, allocations: 16 kB / 1.48 GB, free: 3.652 MB / 1.17 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: dynBal.medium.p = dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 37 * 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.0002195/0.5905, allocations: 173.7 kB / 1.48 GB, free: 3.473 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.398e-05/0.5905, allocations: 35.77 kB / 1.48 GB, free: 3.438 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.5906, allocations: 59.94 kB / 1.48 GB, free: 3.379 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.5906, allocations: 4 kB / 1.48 GB, free: 3.375 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.5907, allocations: 3.984 kB / 1.48 GB, free: 3.371 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005931/0.5912, allocations: 416.3 kB / 1.481 GB, free: 2.934 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/0.593, allocations: 0.9821 MB / 1.482 GB, free: 1.855 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.593, allocations: 4 kB / 1.482 GB, free: 1.852 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003621/0.5933, allocations: 75.89 kB / 1.482 GB, free: 1.777 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.005e-05/0.5934, allocations: 8 kB / 1.482 GB, free: 1.77 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/0.5934, allocations: 11.94 kB / 1.482 GB, free: 1.758 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.094e-05/0.5934, allocations: 11.94 kB / 1.482 GB, free: 1.746 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.992e-06/0.5934, allocations: 4 kB / 1.482 GB, free: 1.742 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009841/0.5944, allocations: 0.6894 MB / 1.482 GB, free: 0.9922 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000186/0.5946, allocations: 71.72 kB / 1.482 GB, free: 0.9219 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.946e-05/0.5946, allocations: 15.94 kB / 1.482 GB, free: 0.9062 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000329/0.595, allocations: 15.98 kB / 1.482 GB, free: 0.8906 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.139e-05/0.595, allocations: 35.83 kB / 1.482 GB, free: 0.8555 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-05/0.5951, allocations: 16 kB / 1.482 GB, free: 0.8398 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002624/0.5953, allocations: 231 kB / 1.483 GB, free: 0.6133 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.5953, allocations: 4.062 kB / 1.483 GB, free: 0.6094 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004926/0.5958, allocations: 111.9 kB / 1.483 GB, free: 0.5 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 2 (dynBal.medium.Xi[1],dynBal.U) * 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 (35): * Single equations (assignments): 35 * 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.001623/0.5974, allocations: 1.279 MB / 1.484 GB, free: 15.15 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.000639/0.5981, allocations: 291.5 kB / 1.484 GB, free: 14.86 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.5981, allocations: 4.062 kB / 1.484 GB, free: 14.86 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002874/0.5984, allocations: 164.9 kB / 1.484 GB, free: 14.7 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.5995, allocations: 224 kB / 1.485 GB, free: 14.48 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005241/0.6048, allocations: 3.681 MB / 1.488 GB, free: 10.63 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.605, allocations: 218.2 kB / 1.488 GB, free: 10.4 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003499/0.6054, allocations: 107.2 kB / 1.489 GB, free: 10.3 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002101/0.6056, allocations: 123.4 kB / 1.489 GB, free: 10.18 MB / 1.186 GB Notification: Performance of SimCode: time 9.12e-07/0.6056, allocations: 3.938 kB / 1.489 GB, free: 10.17 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03801/0.6436, allocations: 12.15 MB / 1.501 GB, free: 14.38 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.26, allocations: 7.984 kB / 1.501 GB, free: 14.38 MB / 1.201 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent_fmu --startTime=0 --stopTime=2700 --stepSize=1.08 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.fmu > Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.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: 18.965147946961224]