Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001206/0.001206, allocations: 109 kB / 16.42 MB, free: 6.512 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.001314/0.001314, allocations: 188.3 kB / 17.35 MB, free: 5.738 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.424/1.424, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.386/2.386, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 63.89 kB / 0.9515 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.025/1.026, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter mov.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.3519/1.378, allocations: 342.5 MB / 1.423 GB, free: 6.625 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.05158/1.43, allocations: 36.55 MB / 1.459 GB, free: 1.969 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007171/1.437, allocations: 135.2 kB / 1.459 GB, free: 1.836 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.007273/1.444, allocations: 2.412 MB / 1.461 GB, free: 15.41 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.01832/1.463, allocations: 5.997 MB / 1.467 GB, free: 9.391 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.009057/1.472, allocations: 3.063 MB / 1.47 GB, free: 6.344 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.01446/1.486, allocations: 8.58 MB / 1.478 GB, free: 13.74 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007993/1.494, allocations: 4.178 MB / 1.483 GB, free: 9.477 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01242/1.507, allocations: 5.076 MB / 1.488 GB, free: 4.383 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007031/1.514, allocations: 2.705 MB / 1.49 GB, free: 1.676 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.002221/1.516, allocations: 372 kB / 1.491 GB, free: 1.312 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01317/1.529, allocations: 5.149 MB / 1.496 GB, free: 12.15 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.003542/1.533, allocations: 1.262 MB / 1.497 GB, free: 10.89 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.006578/1.539, allocations: 2.065 MB / 1.499 GB, free: 8.812 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.0168/1.556, allocations: 7.12 MB / 1.506 GB, free: 1.672 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/1.556, allocations: 0 / 1.506 GB, free: 1.672 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.074e-06/1.556, allocations: 0 / 1.506 GB, free: 1.672 MB / 1.232 GB Notification: Performance of Transformations before backend: time 0.0002325/1.557, allocations: 0 / 1.506 GB, free: 1.672 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.01323/1.57, allocations: 4.356 MB / 1.51 GB, free: 13.23 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/1.57, allocations: 11.97 kB / 1.51 GB, free: 13.22 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01001/1.58, allocations: 1.47 MB / 1.511 GB, free: 11.74 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008707/1.589, allocations: 2.876 MB / 1.514 GB, free: 8.793 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005025/1.589, allocations: 290 kB / 1.515 GB, free: 8.488 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001325/1.591, allocations: 259.9 kB / 1.515 GB, free: 8.234 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009952/1.601, allocations: 3.38 MB / 1.518 GB, free: 4.746 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.221e-05/1.601, allocations: 3.938 kB / 1.518 GB, free: 4.742 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005634/1.601, allocations: 108 kB / 1.518 GB, free: 4.637 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001383/1.601, allocations: 104.9 kB / 1.518 GB, free: 4.531 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0082/1.61, allocations: 2.994 MB / 1.521 GB, free: 1.523 MB / 1.248 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.02592/1.635, allocations: 14.22 MB / 1.535 GB, free: 2.211 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003927/1.639, allocations: 1.638 MB / 1.537 GB, free: 0.5273 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001711/1.641, allocations: 0.7038 MB / 1.537 GB, free: 15.82 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004306/1.642, allocations: 308.4 kB / 1.538 GB, free: 15.46 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002047/1.644, allocations: 0.841 MB / 1.538 GB, free: 14.6 MB / 1.279 GB Notification: Performance of pre-optimization done (n=104): time 3.546e-06/1.644, allocations: 0 / 1.538 GB, free: 14.6 MB / 1.279 GB Notification: Performance of matching and sorting (n=104): time 0.006401/1.65, allocations: 2.213 MB / 1.541 GB, free: 12.36 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.52e-05/1.65, allocations: 115.8 kB / 1.541 GB, free: 12.22 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004817/1.655, allocations: 2.599 MB / 1.543 GB, free: 9.609 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0002055/1.655, allocations: 49.7 kB / 1.543 GB, free: 9.555 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001537/1.657, allocations: 1.581 MB / 1.545 GB, free: 7.957 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004312/1.657, allocations: 370.7 kB / 1.545 GB, free: 7.59 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006754/1.658, allocations: 379 kB / 1.546 GB, free: 7.211 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 9.896e-05/1.658, allocations: 305.1 kB / 1.546 GB, free: 6.91 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002139/1.66, allocations: 0.7738 MB / 1.547 GB, free: 6.133 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00272/1.663, allocations: 1.488 MB / 1.548 GB, free: 4.32 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00439/1.667, allocations: 2.184 MB / 1.55 GB, free: 1.836 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.005e-05/1.667, allocations: 4 kB / 1.55 GB, free: 1.832 MB / 1.279 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006176/1.674, allocations: 2.478 MB / 1.553 GB, free: 15.34 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 5.84e-05/1.674, allocations: 47.89 kB / 1.553 GB, free: 15.29 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.508e-05/1.674, allocations: 20 kB / 1.553 GB, free: 15.27 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.788e-05/1.674, allocations: 32.62 kB / 1.553 GB, free: 15.24 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002121/1.676, allocations: 471.3 kB / 1.553 GB, free: 14.78 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.656e-05/1.676, allocations: 47.8 kB / 1.553 GB, free: 14.73 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003024/1.679, allocations: 346.4 kB / 1.554 GB, free: 14.39 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002014/1.679, allocations: 95.91 kB / 1.554 GB, free: 14.3 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003429/1.683, allocations: 1.452 MB / 1.555 GB, free: 12.84 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002628/1.685, allocations: 1.468 MB / 1.557 GB, free: 11.05 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004301/1.69, allocations: 2.166 MB / 1.559 GB, free: 8.586 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.906e-05/1.69, allocations: 8 kB / 1.559 GB, free: 8.578 MB / 1.295 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.006205/1.696, allocations: 2.45 MB / 1.561 GB, free: 6.113 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 5.683e-05/1.696, allocations: 37.7 kB / 1.561 GB, free: 6.07 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.555e-05/1.696, allocations: 24 kB / 1.561 GB, free: 6.047 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.027e-05/1.696, allocations: 31.94 kB / 1.561 GB, free: 6.016 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00207/1.698, allocations: 471.7 kB / 1.562 GB, free: 5.555 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-05/1.698, allocations: 43.86 kB / 1.562 GB, free: 5.512 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003375/1.701, allocations: 291.3 kB / 1.562 GB, free: 5.227 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002239/1.702, allocations: 99.91 kB / 1.562 GB, free: 5.129 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 95 * 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 (213): * Single equations (assignments): 210 * Array equations: 2 * Algorithm blocks: 1 * 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.0006682/1.702, allocations: 296 kB / 1.562 GB, free: 4.832 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009223/1.703, allocations: 268.6 kB / 1.563 GB, free: 4.566 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004571/1.708, allocations: 1.718 MB / 1.564 GB, free: 2.828 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00316/1.711, allocations: 1.344 MB / 1.566 GB, free: 1.453 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/1.711, allocations: 0 / 1.566 GB, free: 1.453 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001405/1.712, allocations: 497.3 kB / 1.566 GB, free: 0.9453 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006509/1.713, allocations: 23.98 kB / 1.566 GB, free: 0.9219 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00211/1.715, allocations: 125.5 kB / 1.566 GB, free: 0.8008 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001916/1.715, allocations: 80.78 kB / 1.566 GB, free: 0.7188 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004573/1.72, allocations: 1.552 MB / 1.568 GB, free: 15.16 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005547/1.726, allocations: 2.415 MB / 1.57 GB, free: 12.72 MB / 1.311 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001526/1.727, allocations: 0.6402 MB / 1.571 GB, free: 12.08 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.003728/1.731, allocations: 1.768 MB / 1.572 GB, free: 10.31 MB / 1.311 GB Notification: Performance of Backend: time 4.01e-07/1.731, allocations: 0 / 1.572 GB, free: 10.31 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.01041/1.741, allocations: 3.442 MB / 1.576 GB, free: 6.863 MB / 1.311 GB Notification: Performance of SimCode: time 0.01372/1.755, allocations: 6.403 MB / 1.582 GB, free: 432 kB / 1.311 GB Notification: Performance of Templates: time 0.7046/2.46, allocations: 66.82 MB / 1.647 GB, free: 425.3 MB / 1.311 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.sim & ./Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches