Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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: translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|TSet.y|conPI.y|hea.Q_flow|hex.Q1_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust") translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|TSet.y|conPI.y|hea.Q_flow|hex.Q1_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 110.8 kB / 16.27 MB, free: 6.008 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.001326/0.001326, allocations: 188.3 kB / 17.2 MB, free: 5.617 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.488/1.488, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.662/2.662, allocations: 437.1 MB / 0.711 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 64.55 kB / 0.8699 GB, free: 2.23 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.374, allocations: 151.6 MB / 1.018 GB, free: 10.67 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 1.063/1.437, allocations: 342.9 MB / 1.353 GB, free: 2.137 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.06045/1.498, allocations: 38.36 MB / 1.39 GB, free: 11.66 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007346/1.505, allocations: 139.2 kB / 1.39 GB, free: 11.52 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.01588/1.521, allocations: 5.619 MB / 1.396 GB, free: 5.887 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.02103/1.542, allocations: 5.806 MB / 1.402 GB, free: 60 kB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.00943/1.552, allocations: 3.041 MB / 1.405 GB, free: 13.04 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01963/1.571, allocations: 11.35 MB / 1.416 GB, free: 1.672 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007871/1.579, allocations: 4.203 MB / 1.42 GB, free: 13.38 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01391/1.593, allocations: 4.873 MB / 1.425 GB, free: 8.492 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007383/1.601, allocations: 2.737 MB / 1.427 GB, free: 5.758 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.001793/1.603, allocations: 376 kB / 1.428 GB, free: 5.391 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01507/1.618, allocations: 5.297 MB / 1.433 GB, free: 84 kB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.003203/1.621, allocations: 1.394 MB / 1.434 GB, free: 14.68 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.006093/1.627, allocations: 2.251 MB / 1.436 GB, free: 12.42 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01928/1.646, allocations: 7.568 MB / 1.444 GB, free: 4.832 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/1.646, allocations: 0 / 1.444 GB, free: 4.832 MB / 1.139 GB Notification: Performance of FrontEnd: time 4.358e-06/1.646, allocations: 4 kB / 1.444 GB, free: 4.828 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0002396/1.647, allocations: 0 / 1.444 GB, free: 4.828 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: 649 * Number of variables: 649 Notification: Performance of Generate backend data structure: time 0.01551/1.662, allocations: 4.78 MB / 1.448 GB, free: 15.95 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 8.111e-05/1.662, allocations: 15.98 kB / 1.448 GB, free: 15.94 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01081/1.673, allocations: 1.478 MB / 1.45 GB, free: 14.45 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01061/1.684, allocations: 3.745 MB / 1.453 GB, free: 10.64 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001386/1.685, allocations: 454 kB / 1.454 GB, free: 10.18 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001167/1.687, allocations: 264 kB / 1.454 GB, free: 9.918 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01137/1.698, allocations: 3.385 MB / 1.457 GB, free: 6.422 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001028/1.698, allocations: 4 kB / 1.457 GB, free: 6.418 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008346/1.699, allocations: 107.9 kB / 1.458 GB, free: 6.312 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001631/1.699, allocations: 104.9 kB / 1.458 GB, free: 6.207 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009705/1.709, allocations: 3.013 MB / 1.461 GB, free: 3.18 MB / 1.154 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.03324/1.742, allocations: 14.75 MB / 1.475 GB, free: 3.34 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004302/1.746, allocations: 1.592 MB / 1.477 GB, free: 1.707 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001872/1.748, allocations: 0.6919 MB / 1.477 GB, free: 1.012 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005549/1.749, allocations: 304.3 kB / 1.478 GB, free: 0.6602 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002256/1.751, allocations: 0.8059 MB / 1.478 GB, free: 15.83 MB / 1.186 GB Notification: Performance of pre-optimization done (n=103): time 3.988e-06/1.751, allocations: 4 kB / 1.478 GB, free: 15.83 MB / 1.186 GB Notification: Performance of matching and sorting (n=103): time 0.007454/1.759, allocations: 2.193 MB / 1.48 GB, free: 13.6 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/1.759, allocations: 111.8 kB / 1.481 GB, free: 13.47 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008325/1.767, allocations: 3.209 MB / 1.484 GB, free: 10.27 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0004405/1.768, allocations: 53.7 kB / 1.484 GB, free: 10.21 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.002468/1.77, allocations: 1.719 MB / 1.485 GB, free: 8.473 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007615/1.771, allocations: 382.7 kB / 1.486 GB, free: 8.094 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001512/1.773, allocations: 463.4 kB / 1.486 GB, free: 7.633 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001436/1.773, allocations: 309.1 kB / 1.487 GB, free: 7.328 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002858/1.776, allocations: 0.9579 MB / 1.487 GB, free: 6.367 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003753/1.779, allocations: 1.738 MB / 1.489 GB, free: 4.285 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005652/1.785, allocations: 2.526 MB / 1.492 GB, free: 1.445 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.683e-05/1.785, allocations: 4 kB / 1.492 GB, free: 1.441 MB / 1.186 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.008432/1.794, allocations: 2.973 MB / 1.495 GB, free: 14.46 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 9.127e-05/1.794, allocations: 44.52 kB / 1.495 GB, free: 14.42 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-05/1.794, allocations: 20 kB / 1.495 GB, free: 14.4 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.941e-05/1.794, allocations: 32.66 kB / 1.495 GB, free: 14.37 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002465/1.796, allocations: 0.5304 MB / 1.495 GB, free: 13.84 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.376e-05/1.796, allocations: 43.86 kB / 1.495 GB, free: 13.79 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004051/1.8, allocations: 442.7 kB / 1.496 GB, free: 13.36 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003702/1.801, allocations: 95.98 kB / 1.496 GB, free: 13.27 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004836/1.806, allocations: 1.766 MB / 1.497 GB, free: 11.49 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003805/1.81, allocations: 1.727 MB / 1.499 GB, free: 9.426 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005553/1.815, allocations: 2.523 MB / 1.502 GB, free: 6.586 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.13e-05/1.815, allocations: 8 kB / 1.502 GB, free: 6.578 MB / 1.201 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.008241/1.823, allocations: 2.975 MB / 1.504 GB, free: 3.59 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 6.564e-05/1.824, allocations: 37.7 kB / 1.505 GB, free: 3.547 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-05/1.824, allocations: 27.94 kB / 1.505 GB, free: 3.52 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.415e-05/1.824, allocations: 32.66 kB / 1.505 GB, free: 3.488 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002397/1.826, allocations: 0.5226 MB / 1.505 GB, free: 2.965 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.267e-05/1.826, allocations: 51.8 kB / 1.505 GB, free: 2.914 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004035/1.83, allocations: 366.8 kB / 1.505 GB, free: 2.555 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003255/1.831, allocations: 104 kB / 1.506 GB, free: 2.453 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (247): * Single equations (assignments): 243 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.0007758/1.831, allocations: 309.1 kB / 1.506 GB, free: 2.145 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001153/1.832, allocations: 316 kB / 1.506 GB, free: 1.832 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005061/1.838, allocations: 1.68 MB / 1.508 GB, free: 140 kB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/1.838, allocations: 12 kB / 1.508 GB, free: 128 kB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/1.838, allocations: 4 kB / 1.508 GB, free: 124 kB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003295/1.841, allocations: 1.309 MB / 1.509 GB, free: 14.78 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01284/1.854, allocations: 4.556 MB / 1.514 GB, free: 10.04 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-05/1.854, allocations: 8 kB / 1.514 GB, free: 10.04 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001417/1.855, allocations: 243.8 kB / 1.514 GB, free: 9.797 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002785/1.856, allocations: 52.83 kB / 1.514 GB, free: 9.742 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001282/1.856, allocations: 31.98 kB / 1.514 GB, free: 9.711 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001677/1.857, allocations: 1.547 MB / 1.515 GB, free: 8.027 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.246e-05/1.857, allocations: 12.08 kB / 1.515 GB, free: 8.016 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006539/1.864, allocations: 2.519 MB / 1.518 GB, free: 5.391 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001988/1.866, allocations: 0.5515 MB / 1.518 GB, free: 4.816 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001035/1.867, allocations: 32 kB / 1.518 GB, free: 4.785 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002764/1.87, allocations: 149.9 kB / 1.519 GB, free: 4.641 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002695/1.87, allocations: 96.38 kB / 1.519 GB, free: 4.547 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000189/1.87, allocations: 51.97 kB / 1.519 GB, free: 4.496 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.005914/1.876, allocations: 2.164 MB / 1.521 GB, free: 2.348 MB / 1.217 GB Notification: Performance of sort global known variables: time 4.91e-07/1.876, allocations: 0 / 1.521 GB, free: 2.348 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.008019/1.884, allocations: 1.695 MB / 1.522 GB, free: 0.6484 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 4 (conPI.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001984/1.886, allocations: 0.5556 MB / 1.523 GB, free: 100 kB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.009916/1.896, allocations: 3.582 MB / 1.527 GB, free: 12.5 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.431e-05/1.896, allocations: 8.125 kB / 1.527 GB, free: 12.49 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.002247/1.899, allocations: 0.8003 MB / 1.527 GB, free: 11.68 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009211/1.908, allocations: 1.498 MB / 1.529 GB, free: 10.21 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01706/1.925, allocations: 6.424 MB / 1.535 GB, free: 3.676 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003699/1.929, allocations: 2.274 MB / 1.537 GB, free: 1.371 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001309/1.93, allocations: 239.4 kB / 1.538 GB, free: 1.137 MB / 1.232 GB Notification: Performance of SimCode: time 8.11e-07/1.93, allocations: 0 / 1.538 GB, free: 1.137 MB / 1.232 GB Notification: Performance of Templates: time 0.7191/2.649, allocations: 62.36 MB / 1.598 GB, free: 417 MB / 1.232 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.sim & ./Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches