Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008023/0.0008023, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008208/0.0008208, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8522/0.8522, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.759/1.759, allocations: 389 MB / 0.633 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.784e-05/1.913e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.5752/0.5752, allocations: 141 MB / 1.137 GB, free: 12.15 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.004005/0.5792, allocations: 3.523 MB / 1.141 GB, free: 9.785 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003666/0.5796, allocations: 16.09 kB / 1.141 GB, free: 9.777 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0005885/0.5802, allocations: 185.8 kB / 1.141 GB, free: 9.668 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001851/0.582, allocations: 0.877 MB / 1.142 GB, free: 9.199 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009006/0.5829, allocations: 454.2 kB / 1.142 GB, free: 8.988 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001164/0.5841, allocations: 1.014 MB / 1.143 GB, free: 8.535 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003368/0.5844, allocations: 217 kB / 1.144 GB, free: 8.441 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001124/0.5856, allocations: 0.7182 MB / 1.144 GB, free: 8.121 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007733/0.5863, allocations: 289.5 kB / 1.144 GB, free: 8.039 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 5.032e-05/0.5864, allocations: 31 kB / 1.145 GB, free: 8.039 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001131/0.5875, allocations: 0.6025 MB / 1.145 GB, free: 7.816 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002156/0.5877, allocations: 171.7 kB / 1.145 GB, free: 7.742 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001816/0.5879, allocations: 155.1 kB / 1.145 GB, free: 7.68 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001128/0.589, allocations: 0.7681 MB / 1.146 GB, free: 7.418 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.589, allocations: 0 / 1.146 GB, free: 7.418 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.793e-06/0.589, allocations: 0 / 1.146 GB, free: 7.418 MB / 1.01 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.5891, allocations: 0 / 1.146 GB, free: 7.418 MB / 1.01 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.0009808/0.59, allocations: 0.6642 MB / 1.147 GB, free: 6.93 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.5901, allocations: 14.25 kB / 1.147 GB, free: 6.926 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.56e-05/0.5902, allocations: 71.77 kB / 1.147 GB, free: 6.863 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006479/0.5908, allocations: 147.6 kB / 1.147 GB, free: 6.832 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006492/0.5914, allocations: 326.9 kB / 1.147 GB, free: 6.605 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.5915, allocations: 30.58 kB / 1.147 GB, free: 6.586 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.975e-05/0.5915, allocations: 28.75 kB / 1.147 GB, free: 6.578 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005013/0.592, allocations: 429.8 kB / 1.148 GB, free: 6.324 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.592, allocations: 0.7031 kB / 1.148 GB, free: 6.324 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.5921, allocations: 11 kB / 1.148 GB, free: 6.316 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.5921, allocations: 14.53 kB / 1.148 GB, free: 6.312 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004056/0.5925, allocations: 303.8 kB / 1.148 GB, free: 6.23 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/0.5937, allocations: 0.8643 MB / 1.149 GB, free: 5.723 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000347/0.5941, allocations: 271.2 kB / 1.149 GB, free: 5.609 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/0.5943, allocations: 172.9 kB / 1.149 GB, free: 5.551 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001408/0.5944, allocations: 37.38 kB / 1.149 GB, free: 5.547 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.5944, allocations: 42.19 kB / 1.149 GB, free: 5.5 MB / 1.01 GB Notification: Performance of pre-optimization done (n=33): time 2.204e-06/0.5944, allocations: 0 / 1.149 GB, free: 5.5 MB / 1.01 GB Notification: Performance of matching and sorting (n=35): time 0.001538/0.596, allocations: 0.9557 MB / 1.15 GB, free: 5.035 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.596, allocations: 55.36 kB / 1.15 GB, free: 4.973 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002618/0.5963, allocations: 319.1 kB / 1.151 GB, free: 4.809 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.5963, allocations: 36.02 kB / 1.151 GB, free: 4.77 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 9.47e-05/0.5964, allocations: 172.6 kB / 1.151 GB, free: 4.621 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 8.543e-05/0.5965, allocations: 122.8 kB / 1.151 GB, free: 4.523 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.391e-05/0.5966, allocations: 64.78 kB / 1.151 GB, free: 4.484 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.5967, allocations: 347 kB / 1.151 GB, free: 4.156 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.5968, allocations: 113.5 kB / 1.152 GB, free: 4.125 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003881/0.5972, allocations: 267.3 kB / 1.152 GB, free: 3.934 MB / 1.01 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.001171/0.5984, allocations: 0.6901 MB / 1.153 GB, free: 3.707 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5984, allocations: 0 / 1.153 GB, free: 3.707 MB / 1.01 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004395/0.5988, allocations: 354.2 kB / 1.153 GB, free: 3.562 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.5988, allocations: 9.188 kB / 1.153 GB, free: 3.559 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.5988, allocations: 4.172 kB / 1.153 GB, free: 3.559 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.5989, allocations: 2.25 kB / 1.153 GB, free: 3.559 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/0.599, allocations: 67.62 kB / 1.153 GB, free: 3.551 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.5991, allocations: 1.969 kB / 1.153 GB, free: 3.551 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/0.5992, allocations: 21.47 kB / 1.153 GB, free: 3.539 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.712e-05/0.5992, allocations: 17.5 kB / 1.153 GB, free: 3.531 MB / 1.01 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.0001543/0.5994, allocations: 171.5 kB / 1.153 GB, free: 3.391 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.64e-05/0.5994, allocations: 41 kB / 1.153 GB, free: 3.371 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.904e-05/0.5995, allocations: 50.44 kB / 1.153 GB, free: 3.336 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-06/0.5995, allocations: 4.297 kB / 1.153 GB, free: 3.336 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.5995, allocations: 0 / 1.153 GB, free: 3.336 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004026/0.5999, allocations: 410.9 kB / 1.154 GB, free: 3.09 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/0.6011, allocations: 0.9909 MB / 1.155 GB, free: 2.461 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.6011, allocations: 2.969 kB / 1.155 GB, free: 2.461 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002218/0.6013, allocations: 79.17 kB / 1.155 GB, free: 2.457 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.6013, allocations: 5.125 kB / 1.155 GB, free: 2.457 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.6013, allocations: 15.78 kB / 1.155 GB, free: 2.449 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/0.6014, allocations: 10.36 kB / 1.155 GB, free: 2.445 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.6014, allocations: 8.594 kB / 1.155 GB, free: 2.441 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007009/0.6021, allocations: 0.6772 MB / 1.155 GB, free: 2.023 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.6022, allocations: 70.38 kB / 1.155 GB, free: 1.988 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.504e-05/0.6022, allocations: 13.06 kB / 1.155 GB, free: 1.984 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.6024, allocations: 19.53 kB / 1.155 GB, free: 1.977 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.874e-05/0.6024, allocations: 36.55 kB / 1.155 GB, free: 1.965 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.6025, allocations: 16.88 kB / 1.156 GB, free: 1.961 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.000193/0.6027, allocations: 229.2 kB / 1.156 GB, free: 1.84 MB / 1.01 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6027, allocations: 0 / 1.156 GB, free: 1.84 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003652/0.603, allocations: 108.9 kB / 1.156 GB, free: 1.828 MB / 1.01 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.001037/0.6041, allocations: 1.271 MB / 1.157 GB, free: 0.8594 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004512/0.6045, allocations: 305.1 kB / 1.157 GB, free: 0.7656 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.6045, allocations: 1.094 kB / 1.157 GB, free: 0.7656 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.6047, allocations: 161.3 kB / 1.158 GB, free: 0.7148 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007251/0.6054, allocations: 212.9 kB / 1.158 GB, free: 0.668 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003639/0.6091, allocations: 3.607 MB / 1.161 GB, free: 14.41 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001923/0.6093, allocations: 216.7 kB / 1.161 GB, free: 14.31 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0003103/0.6096, allocations: 106.2 kB / 1.162 GB, free: 14.3 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.6097, allocations: 120.5 kB / 1.162 GB, free: 14.21 MB / 1.026 GB Notification: Performance of SimCode: time 1.122e-06/0.6097, allocations: 0 / 1.162 GB, free: 14.21 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02627/0.636, allocations: 12.34 MB / 1.174 GB, free: 12.36 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.461/7.097, allocations: 12.89 kB / 1.174 GB, free: 12.35 MB / 1.026 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent_fmu --startTime=0 --stopTime=2700 --stepSize=1.08 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.116553978063166]