Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006702/0.006702, allocations: 100.8 kB / 15.73 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 201.6 kB / 16.68 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.245/1.245, allocations: 222.9 MB / 240.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.455/2.455, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 63.91 kB / 1.054 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7518/0.7532, allocations: 157.4 MB / 1.207 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1807/0.934, allocations: 179.3 MB / 1.382 GB, free: 9.582 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01666/0.9507, allocations: 10.98 MB / 1.393 GB, free: 14.57 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002966/0.9537, allocations: 95.5 kB / 1.393 GB, free: 14.48 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.005972/0.9597, allocations: 2.005 MB / 1.395 GB, free: 12.46 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.004981/0.9647, allocations: 1.612 MB / 1.397 GB, free: 10.84 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002685/0.9674, allocations: 0.7864 MB / 1.398 GB, free: 10.06 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.004971/0.9724, allocations: 3.151 MB / 1.401 GB, free: 6.898 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002224/0.9747, allocations: 1.309 MB / 1.402 GB, free: 5.559 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002194/0.9769, allocations: 1.151 MB / 1.403 GB, free: 4.402 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002558/0.9795, allocations: 1.113 MB / 1.404 GB, free: 3.289 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0005476/0.98, allocations: 132 kB / 1.404 GB, free: 3.16 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002291/0.9823, allocations: 0.9121 MB / 1.405 GB, free: 2.246 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0007404/0.9831, allocations: 474.1 kB / 1.406 GB, free: 1.781 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001899/0.985, allocations: 1.092 MB / 1.407 GB, free: 0.6836 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.005216/0.9902, allocations: 3.465 MB / 1.41 GB, free: 13.21 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.9902, allocations: 0 / 1.41 GB, free: 13.21 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.934e-06/0.9903, allocations: 4 kB / 1.41 GB, free: 13.2 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0001161/0.9904, allocations: 7.938 kB / 1.41 GB, free: 13.2 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.005636/0.996, allocations: 2.798 MB / 1.413 GB, free: 10.34 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.9961, allocations: 12.03 kB / 1.413 GB, free: 10.32 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002583/0.9964, allocations: 126.7 kB / 1.413 GB, free: 10.19 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001641/0.998, allocations: 372.5 kB / 1.413 GB, free: 9.824 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00426/1.002, allocations: 2.013 MB / 1.415 GB, free: 7.742 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.446e-05/1.002, allocations: 61.98 kB / 1.415 GB, free: 7.684 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001724/1.003, allocations: 80 kB / 1.415 GB, free: 7.605 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/1.004, allocations: 0.9367 MB / 1.416 GB, free: 6.621 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.858e-05/1.004, allocations: 4 kB / 1.416 GB, free: 6.617 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-05/1.004, allocations: 32 kB / 1.416 GB, free: 6.586 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.621e-05/1.004, allocations: 32.94 kB / 1.416 GB, free: 6.555 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/1.006, allocations: 0.7025 MB / 1.417 GB, free: 5.852 MB / 1.139 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006939/1.013, allocations: 4.44 MB / 1.421 GB, free: 1.199 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005144/1.013, allocations: 316.6 kB / 1.422 GB, free: 0.8828 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002551/1.013, allocations: 180.2 kB / 1.422 GB, free: 0.707 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001858/1.014, allocations: 97.09 kB / 1.422 GB, free: 0.5938 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/1.014, allocations: 38.56 kB / 1.422 GB, free: 0.5469 MB / 1.139 GB Notification: Performance of pre-optimization done (n=30): time 2.254e-06/1.014, allocations: 0 / 1.422 GB, free: 0.5469 MB / 1.139 GB Notification: Performance of matching and sorting (n=32): time 0.0035/1.017, allocations: 1.708 MB / 1.424 GB, free: 14.75 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/1.017, allocations: 55.41 kB / 1.424 GB, free: 14.69 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004807/1.022, allocations: 2.949 MB / 1.427 GB, free: 11.72 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.312e-05/1.022, allocations: 33.7 kB / 1.427 GB, free: 11.68 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001016/1.023, allocations: 1.062 MB / 1.428 GB, free: 10.62 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/1.023, allocations: 106.4 kB / 1.428 GB, free: 10.51 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/1.023, allocations: 122 kB / 1.428 GB, free: 10.39 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001123/1.024, allocations: 326 kB / 1.428 GB, free: 10.06 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002647/1.024, allocations: 165 kB / 1.428 GB, free: 9.902 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003851/1.024, allocations: 370.4 kB / 1.429 GB, free: 9.453 MB / 1.154 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: air.vol.dynBal.medium.p = air.vol.dynBal.p_start (boundary.p = air.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002142/1.026, allocations: 1.088 MB / 1.43 GB, free: 8.262 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/1.026, allocations: 4 kB / 1.43 GB, free: 8.258 MB / 1.154 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001392/1.028, allocations: 0.7886 MB / 1.431 GB, free: 7.457 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/1.028, allocations: 8.812 kB / 1.431 GB, free: 7.449 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/1.028, allocations: 8 kB / 1.431 GB, free: 7.441 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002071/1.028, allocations: 68.81 kB / 1.431 GB, free: 7.371 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003492/1.028, allocations: 99.78 kB / 1.431 GB, free: 7.273 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001618/1.03, allocations: 1.861 MB / 1.433 GB, free: 5.277 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009879/1.031, allocations: 35.83 kB / 1.433 GB, free: 5.242 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-05/1.031, allocations: 24 kB / 1.433 GB, free: 5.219 MB / 1.154 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: air.vol.dynBal.medium.p = air.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001145/1.032, allocations: 0.8011 MB / 1.433 GB, free: 4.41 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004307/1.033, allocations: 229.1 kB / 1.434 GB, free: 4.184 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005547/1.033, allocations: 255.7 kB / 1.434 GB, free: 3.93 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/1.033, allocations: 4 kB / 1.434 GB, free: 3.926 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/1.033, allocations: 0 / 1.434 GB, free: 3.926 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006834/1.034, allocations: 0.6009 MB / 1.434 GB, free: 3.254 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003821/1.038, allocations: 2.046 MB / 1.436 GB, free: 1.102 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/1.038, allocations: 4 kB / 1.436 GB, free: 1.098 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003029/1.038, allocations: 63.91 kB / 1.436 GB, free: 1.035 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001684/1.038, allocations: 60.94 kB / 1.437 GB, free: 0.9727 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.16e-05/1.038, allocations: 12 kB / 1.437 GB, free: 0.9609 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001525/1.04, allocations: 1.861 MB / 1.438 GB, free: 14.96 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/1.04, allocations: 8.094 kB / 1.438 GB, free: 14.95 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/1.041, allocations: 0.9306 MB / 1.439 GB, free: 13.96 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009645/1.042, allocations: 406.1 kB / 1.44 GB, free: 13.54 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003934/1.043, allocations: 19.98 kB / 1.44 GB, free: 13.52 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007355/1.043, allocations: 11.91 kB / 1.44 GB, free: 13.51 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.96e-05/1.043, allocations: 31.91 kB / 1.44 GB, free: 13.48 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/1.043, allocations: 12 kB / 1.44 GB, free: 13.46 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.003509/1.047, allocations: 2.091 MB / 1.442 GB, free: 11.37 MB / 1.17 GB Notification: Performance of sort global known variables: time 3e-07/1.047, allocations: 4 kB / 1.442 GB, free: 11.37 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001257/1.048, allocations: 300 kB / 1.442 GB, free: 11.07 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (air.vol.dynBal.medium.Xi[1],air.vol.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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001969/1.05, allocations: 1.532 MB / 1.444 GB, free: 9.477 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.000969/1.051, allocations: 0.5263 MB / 1.444 GB, free: 8.938 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/1.051, allocations: 0 / 1.444 GB, free: 8.938 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0004067/1.052, allocations: 299.7 kB / 1.444 GB, free: 8.633 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004153/1.056, allocations: 0.9449 MB / 1.445 GB, free: 7.715 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02753/1.083, allocations: 17.08 MB / 1.462 GB, free: 6.223 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002162/1.086, allocations: 1.961 MB / 1.464 GB, free: 4.227 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.00123/1.087, allocations: 342.8 kB / 1.464 GB, free: 3.887 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001065/1.088, allocations: 0.8 MB / 1.465 GB, free: 3.086 MB / 1.186 GB Notification: Performance of SimCode: time 1.292e-06/1.088, allocations: 0 / 1.465 GB, free: 3.086 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09363/1.182, allocations: 51.87 MB / 1.516 GB, free: 15.9 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/13.93, allocations: 7.859 kB / 1.516 GB, free: 15.89 MB / 1.248 GB (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches