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.001166/0.001166, allocations: 114.4 kB / 16.42 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.001251/0.001252, allocations: 187.3 kB / 17.35 MB, free: 5.625 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.393/1.393, 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 10.1.1-maint.10.0.x/package.mo): time 2.545/2.545, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 63.91 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9742/0.976, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.3728/1.349, allocations: 342.9 MB / 1.502 GB, free: 11.67 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.0504/1.399, allocations: 38.4 MB / 1.54 GB, free: 5.16 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005914/1.405, allocations: 139.2 kB / 1.54 GB, free: 5.023 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.009073/1.414, allocations: 3.204 MB / 1.543 GB, free: 1.805 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.0179/1.432, allocations: 6.164 MB / 1.549 GB, free: 11.61 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.008489/1.441, allocations: 3.15 MB / 1.552 GB, free: 8.48 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 1.034/2.475, allocations: 11.48 MB / 1.563 GB, free: 26.9 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00806/2.483, allocations: 4.208 MB / 1.567 GB, free: 26.47 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01283/2.496, allocations: 5.078 MB / 1.572 GB, free: 26.47 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008319/2.504, allocations: 2.774 MB / 1.575 GB, free: 26.46 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.001748/2.506, allocations: 383.2 kB / 1.575 GB, free: 26.46 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01435/2.52, allocations: 5.328 MB / 1.581 GB, free: 26.46 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.005113/2.525, allocations: 1.406 MB / 1.582 GB, free: 26.46 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.009048/2.534, allocations: 2.258 MB / 1.584 GB, free: 26.46 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.01764/2.552, allocations: 7.714 MB / 1.592 GB, free: 25.79 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 9.488e-06/2.552, allocations: 0 / 1.592 GB, free: 25.79 MB / 1.279 GB Notification: Performance of FrontEnd: time 3.196e-06/2.552, allocations: 3.031 kB / 1.592 GB, free: 25.79 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0002551/2.552, allocations: 0 / 1.592 GB, free: 25.79 MB / 1.279 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.01509/2.567, allocations: 4.795 MB / 1.596 GB, free: 23.56 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.724e-05/2.567, allocations: 11.03 kB / 1.596 GB, free: 23.56 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01027/2.578, allocations: 1.488 MB / 1.598 GB, free: 23.33 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01044/2.588, allocations: 3.898 MB / 1.602 GB, free: 22.61 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003759/2.589, allocations: 287.7 kB / 1.602 GB, free: 22.51 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001061/2.59, allocations: 263.5 kB / 1.602 GB, free: 22.51 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008671/2.598, allocations: 3.367 MB / 1.605 GB, free: 22.2 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.386e-05/2.599, allocations: 4.094 kB / 1.605 GB, free: 22.2 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003684/2.599, allocations: 105.8 kB / 1.606 GB, free: 22.2 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001196/2.599, allocations: 108.3 kB / 1.606 GB, free: 22.2 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007844/2.607, allocations: 2.976 MB / 1.609 GB, free: 22.16 MB / 1.279 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.02635/2.633, allocations: 14.56 MB / 1.623 GB, free: 14.96 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003575/2.637, allocations: 1.582 MB / 1.624 GB, free: 14.71 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001547/2.638, allocations: 0.6855 MB / 1.625 GB, free: 14.69 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003868/2.639, allocations: 298.1 kB / 1.625 GB, free: 14.41 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001861/2.641, allocations: 0.8104 MB / 1.626 GB, free: 14.32 MB / 1.279 GB Notification: Performance of pre-optimization done (n=103): time 4.869e-06/2.641, allocations: 0 / 1.626 GB, free: 14.32 MB / 1.279 GB Notification: Performance of matching and sorting (n=103): time 0.006303/2.647, allocations: 2.183 MB / 1.628 GB, free: 13.98 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/2.647, allocations: 115.6 kB / 1.628 GB, free: 13.86 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005193/2.652, allocations: 3.195 MB / 1.631 GB, free: 13.57 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0002735/2.653, allocations: 53.88 kB / 1.631 GB, free: 13.54 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001461/2.654, allocations: 1.729 MB / 1.633 GB, free: 12.93 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004032/2.655, allocations: 374 kB / 1.634 GB, free: 12.7 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007293/2.655, allocations: 474.5 kB / 1.634 GB, free: 12.65 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 4.922e-05/2.655, allocations: 302.2 kB / 1.634 GB, free: 12.36 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002167/2.657, allocations: 0.9334 MB / 1.635 GB, free: 12.32 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002523/2.66, allocations: 1.696 MB / 1.637 GB, free: 11.4 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003981/2.664, allocations: 2.497 MB / 1.639 GB, free: 10.5 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.345e-05/2.664, allocations: 9.438 kB / 1.639 GB, free: 10.5 MB / 1.279 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.006575/2.671, allocations: 2.91 MB / 1.642 GB, free: 10.21 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 5.533e-05/2.671, allocations: 48.16 kB / 1.642 GB, free: 10.18 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.265e-05/2.671, allocations: 21.12 kB / 1.642 GB, free: 10.18 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.411e-05/2.671, allocations: 33.19 kB / 1.642 GB, free: 10.18 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002064/2.673, allocations: 0.5082 MB / 1.643 GB, free: 10.17 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-05/2.673, allocations: 46.98 kB / 1.643 GB, free: 10.17 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003569/2.677, allocations: 387.4 kB / 1.643 GB, free: 10.03 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002086/2.677, allocations: 102.7 kB / 1.643 GB, free: 10.03 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003938/2.681, allocations: 1.72 MB / 1.645 GB, free: 9.93 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002518/2.683, allocations: 1.704 MB / 1.647 GB, free: 9.012 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004272/2.687, allocations: 2.496 MB / 1.649 GB, free: 8.105 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.174e-05/2.688, allocations: 7.281 kB / 1.649 GB, free: 8.105 MB / 1.279 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.007256/2.695, allocations: 2.915 MB / 1.652 GB, free: 7.82 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 5.921e-05/2.695, allocations: 42.05 kB / 1.652 GB, free: 7.789 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.19e-05/2.695, allocations: 21.44 kB / 1.652 GB, free: 7.789 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.722e-05/2.695, allocations: 35.53 kB / 1.652 GB, free: 7.789 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002108/2.697, allocations: 0.5054 MB / 1.652 GB, free: 7.781 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.273e-05/2.697, allocations: 45.52 kB / 1.653 GB, free: 7.781 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00381/2.701, allocations: 324.1 kB / 1.653 GB, free: 7.695 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002116/2.701, allocations: 101 kB / 1.653 GB, free: 7.695 MB / 1.279 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.0006887/2.702, allocations: 313.1 kB / 1.653 GB, free: 7.5 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007498/2.703, allocations: 309.9 kB / 1.654 GB, free: 7.336 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004696/2.707, allocations: 1.687 MB / 1.655 GB, free: 7.195 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002838/2.71, allocations: 1.304 MB / 1.656 GB, free: 7 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/2.71, allocations: 0 / 1.656 GB, free: 7 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002063/2.712, allocations: 0.5433 MB / 1.657 GB, free: 6.727 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006433/2.713, allocations: 20.64 kB / 1.657 GB, free: 6.727 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001927/2.715, allocations: 127.9 kB / 1.657 GB, free: 6.719 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001978/2.715, allocations: 67.59 kB / 1.657 GB, free: 6.719 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003972/2.719, allocations: 1.504 MB / 1.659 GB, free: 6.574 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00511/2.724, allocations: 2.388 MB / 1.661 GB, free: 6.145 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001384/2.726, allocations: 0.6196 MB / 1.662 GB, free: 6.133 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.004173/2.73, allocations: 2.154 MB / 1.664 GB, free: 5.98 MB / 1.279 GB Notification: Performance of Backend: time 5.1e-07/2.73, allocations: 3.938 kB / 1.664 GB, free: 5.977 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01169/2.741, allocations: 4.055 MB / 1.668 GB, free: 5.5 MB / 1.279 GB Notification: Performance of SimCode: time 0.01557/2.757, allocations: 7.205 MB / 1.675 GB, free: 2.66 MB / 1.279 GB Notification: Performance of Templates: time 0.131/2.888, allocations: 72.77 MB / 1.746 GB, free: 5.402 MB / 1.342 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=480 -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