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.00138/0.00138, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001536/0.001536, allocations: 209.2 kB / 23.04 MB, free: 5.074 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.402/1.402, allocations: 230.6 MB / 256.8 MB, free: 8.055 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.067/3.067, allocations: 0.49 GB / 0.7959 GB, free: 33.28 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.001987/0.001987, allocations: 61.97 kB / 1.155 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3417, allocations: 176.1 MB / 1.327 GB, free: 1.965 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1989/0.5406, allocations: 163.7 MB / 1.486 GB, free: 13.68 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006458/0.5471, allocations: 3.851 MB / 1.49 GB, free: 9.816 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004798/0.5476, allocations: 19.81 kB / 1.49 GB, free: 9.797 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0008199/0.5484, allocations: 198.7 kB / 1.49 GB, free: 9.602 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002301/0.5507, allocations: 0.8868 MB / 1.491 GB, free: 8.711 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.5519, allocations: 445.7 kB / 1.492 GB, free: 8.277 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001512/0.5534, allocations: 1.057 MB / 1.493 GB, free: 7.211 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004457/0.5538, allocations: 229.1 kB / 1.493 GB, free: 6.984 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001252/0.5551, allocations: 0.6111 MB / 1.494 GB, free: 6.371 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009902/0.5561, allocations: 333.5 kB / 1.494 GB, free: 6.047 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 6.031e-05/0.5562, allocations: 32 kB / 1.494 GB, free: 6.016 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001487/0.5576, allocations: 0.7599 MB / 1.495 GB, free: 5.254 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002188/0.5579, allocations: 167.5 kB / 1.495 GB, free: 5.09 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.000252/0.5581, allocations: 218.9 kB / 1.495 GB, free: 4.875 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001233/0.5593, allocations: 0.7513 MB / 1.496 GB, free: 4.121 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.5593, allocations: 0 / 1.496 GB, free: 4.121 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5593, allocations: 4 kB / 1.496 GB, free: 4.117 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.186e-06/0.5594, allocations: 7.938 kB / 1.496 GB, free: 4.109 MB / 1.186 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.001288/0.5606, allocations: 0.6758 MB / 1.496 GB, free: 3.402 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 6.915e-05/0.5607, allocations: 8.031 kB / 1.496 GB, free: 3.395 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.109e-05/0.5607, allocations: 8.656 kB / 1.496 GB, free: 3.387 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.37e-05/0.5608, allocations: 66.53 kB / 1.497 GB, free: 3.312 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/0.562, allocations: 151.5 kB / 1.497 GB, free: 3.164 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000633/0.5626, allocations: 332.2 kB / 1.497 GB, free: 2.809 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/0.5627, allocations: 24.66 kB / 1.497 GB, free: 2.785 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.09e-05/0.5627, allocations: 31.95 kB / 1.497 GB, free: 2.754 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005819/0.5633, allocations: 330 kB / 1.497 GB, free: 2.426 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.5633, allocations: 4 kB / 1.497 GB, free: 2.422 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.266e-05/0.5634, allocations: 12 kB / 1.497 GB, free: 2.41 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.5634, allocations: 11.98 kB / 1.497 GB, free: 2.398 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005434/0.5639, allocations: 310.3 kB / 1.498 GB, free: 2.094 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001761/0.5657, allocations: 1.17 MB / 1.499 GB, free: 0.8203 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005418/0.5662, allocations: 267.4 kB / 1.499 GB, free: 0.5508 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002923/0.5665, allocations: 177.3 kB / 1.499 GB, free: 384 kB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002157/0.5667, allocations: 36.25 kB / 1.499 GB, free: 348 kB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/0.5668, allocations: 38.84 kB / 1.499 GB, free: 300 kB / 1.186 GB Notification: Performance of pre-optimization done (n=33): time 1.904e-06/0.5668, allocations: 0 / 1.499 GB, free: 300 kB / 1.186 GB Notification: Performance of matching and sorting (n=35): time 0.002124/0.5689, allocations: 0.9665 MB / 1.5 GB, free: 15.29 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.5689, allocations: 59.34 kB / 1.5 GB, free: 15.22 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003397/0.5693, allocations: 312.5 kB / 1.501 GB, free: 14.91 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.847e-05/0.5693, allocations: 37.7 kB / 1.501 GB, free: 14.87 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.5695, allocations: 180.8 kB / 1.501 GB, free: 14.69 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.5696, allocations: 130.9 kB / 1.501 GB, free: 14.56 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.5697, allocations: 57.7 kB / 1.501 GB, free: 14.5 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.5699, allocations: 346.8 kB / 1.501 GB, free: 14.15 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002267/0.5701, allocations: 123.7 kB / 1.501 GB, free: 14.03 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002741/0.5704, allocations: 158.9 kB / 1.502 GB, free: 13.87 MB / 1.201 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.001888/0.5722, allocations: 0.6808 MB / 1.502 GB, free: 13.18 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.5722, allocations: 7.938 kB / 1.502 GB, free: 13.17 MB / 1.201 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006243/0.5729, allocations: 357 kB / 1.503 GB, free: 12.82 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.5729, allocations: 4 kB / 1.503 GB, free: 12.81 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.5729, allocations: 3.938 kB / 1.503 GB, free: 12.81 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.5729, allocations: 4 kB / 1.503 GB, free: 12.8 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003038/0.5732, allocations: 59.91 kB / 1.503 GB, free: 12.75 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.5732, allocations: 4 kB / 1.503 GB, free: 12.74 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000331/0.5736, allocations: 29.08 kB / 1.503 GB, free: 12.71 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.261e-05/0.5736, allocations: 8 kB / 1.503 GB, free: 12.71 MB / 1.201 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.0002211/0.5738, allocations: 179.6 kB / 1.503 GB, free: 12.52 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.285e-05/0.5739, allocations: 35.77 kB / 1.503 GB, free: 12.49 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/0.574, allocations: 59.94 kB / 1.503 GB, free: 12.43 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.574, allocations: 4 kB / 1.503 GB, free: 12.43 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.574, allocations: 48 / 1.503 GB, free: 12.43 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005913/0.5746, allocations: 416.3 kB / 1.503 GB, free: 11.99 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001757/0.5764, allocations: 1.03 MB / 1.504 GB, free: 10.86 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.5764, allocations: 4.469 kB / 1.504 GB, free: 10.86 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003675/0.5767, allocations: 87.89 kB / 1.505 GB, free: 10.77 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.265e-06/0.5767, allocations: 4 kB / 1.505 GB, free: 10.77 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-05/0.5768, allocations: 15.94 kB / 1.505 GB, free: 10.75 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.705e-06/0.5768, allocations: 7.938 kB / 1.505 GB, free: 10.75 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.5768, allocations: 4 kB / 1.505 GB, free: 10.74 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.5778, allocations: 0.6852 MB / 1.505 GB, free: 9.996 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001751/0.578, allocations: 71.75 kB / 1.505 GB, free: 9.926 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.034e-05/0.578, allocations: 11.94 kB / 1.505 GB, free: 9.914 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003295/0.5784, allocations: 21 kB / 1.505 GB, free: 9.895 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.673e-05/0.5785, allocations: 39.89 kB / 1.505 GB, free: 9.855 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.093e-05/0.5785, allocations: 16 kB / 1.505 GB, free: 9.84 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002453/0.5787, allocations: 227 kB / 1.506 GB, free: 9.617 MB / 1.201 GB Notification: Performance of sort global known variables: time 6e-08/0.5787, allocations: 0 / 1.506 GB, free: 9.617 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004923/0.5792, allocations: 115.9 kB / 1.506 GB, free: 9.504 MB / 1.201 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.001493/0.5807, allocations: 1.293 MB / 1.507 GB, free: 8.137 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0006318/0.5813, allocations: 293.1 kB / 1.507 GB, free: 7.852 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.5814, allocations: 3.938 kB / 1.507 GB, free: 7.848 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003015/0.5817, allocations: 156.5 kB / 1.507 GB, free: 7.695 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.5829, allocations: 218.9 kB / 1.508 GB, free: 7.48 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00534/0.5882, allocations: 3.686 MB / 1.511 GB, free: 3.625 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005321/0.5887, allocations: 0.8235 MB / 1.512 GB, free: 2.777 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0003954/0.5891, allocations: 107.2 kB / 1.512 GB, free: 2.668 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002159/0.5893, allocations: 123.4 kB / 1.512 GB, free: 2.547 MB / 1.201 GB Notification: Performance of SimCode: time 1.022e-06/0.5893, allocations: 3.938 kB / 1.512 GB, free: 2.543 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03692/0.6263, allocations: 11.52 MB / 1.523 GB, free: 7.293 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.43, allocations: 6.5 kB / 1.523 GB, free: 7.289 MB / 1.217 GB " [Timeout remaining time 287] (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: 19.012542466982268]