Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.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.ThermalZoneHVACWithExhaust,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.ThermalZoneHVACWithExhaust") translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,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.ThermalZoneHVACWithExhaust") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 115.6 kB / 16.42 MB, free: 6.492 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.001339/0.001339, allocations: 186.6 kB / 17.35 MB, free: 5.746 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.2 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.458/2.458, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 68.11 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9086/0.9101, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.5092/1.419, allocations: 380.1 MB / 1.539 GB, free: 6.312 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.9813/2.401, allocations: 46.5 MB / 1.584 GB, free: 17.9 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009666/2.41, allocations: 176.1 kB / 1.584 GB, free: 17.9 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01203/2.423, allocations: 3.737 MB / 1.588 GB, free: 17.89 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.02398/2.447, allocations: 7.889 MB / 1.595 GB, free: 17.68 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.01191/2.458, allocations: 3.988 MB / 1.599 GB, free: 17.59 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.02436/2.483, allocations: 17.36 MB / 1.616 GB, free: 17.53 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01025/2.493, allocations: 5.623 MB / 1.622 GB, free: 16.81 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01839/2.512, allocations: 6.552 MB / 1.628 GB, free: 16.73 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009787/2.521, allocations: 3.761 MB / 1.632 GB, free: 16.71 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.002391/2.524, allocations: 0.5044 MB / 1.632 GB, free: 16.71 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01568/2.539, allocations: 6.361 MB / 1.639 GB, free: 16.64 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.0038/2.543, allocations: 2.018 MB / 1.641 GB, free: 16.56 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.007465/2.551, allocations: 3.144 MB / 1.644 GB, free: 15.68 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.02345/2.574, allocations: 10.42 MB / 1.654 GB, free: 14.32 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/2.574, allocations: 3.938 kB / 1.654 GB, free: 14.32 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.014e-06/2.574, allocations: 3.938 kB / 1.654 GB, free: 14.31 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0003341/2.575, allocations: 0 / 1.654 GB, free: 14.31 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: 864 * Number of variables: 864 Notification: Performance of Generate backend data structure: time 0.01641/2.591, allocations: 6.678 MB / 1.66 GB, free: 11.17 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/2.591, allocations: 10.7 kB / 1.66 GB, free: 11.17 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01227/2.603, allocations: 2.044 MB / 1.662 GB, free: 10.76 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0133/2.617, allocations: 5.899 MB / 1.668 GB, free: 9.734 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005159/2.617, allocations: 386.7 kB / 1.668 GB, free: 9.602 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001586/2.619, allocations: 347.4 kB / 1.669 GB, free: 9.598 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01454/2.633, allocations: 4.506 MB / 1.673 GB, free: 9.191 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001679/2.634, allocations: 6.625 kB / 1.673 GB, free: 9.188 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001302/2.635, allocations: 142.5 kB / 1.673 GB, free: 9.188 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002056/2.635, allocations: 140.6 kB / 1.673 GB, free: 9.18 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01152/2.647, allocations: 3.949 MB / 1.677 GB, free: 9.105 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.03657/2.683, allocations: 19.56 MB / 1.696 GB, free: 13.31 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004069/2.687, allocations: 1.749 MB / 1.698 GB, free: 12.83 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002144/2.69, allocations: 0.9066 MB / 1.699 GB, free: 12.68 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006973/2.69, allocations: 408.2 kB / 1.699 GB, free: 12.27 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002557/2.693, allocations: 1.048 MB / 1.7 GB, free: 11.92 MB / 1.295 GB Notification: Performance of pre-optimization done (n=127): time 4.078e-06/2.693, allocations: 0 / 1.7 GB, free: 11.92 MB / 1.295 GB Notification: Performance of matching and sorting (n=127): time 0.009496/2.702, allocations: 2.916 MB / 1.703 GB, free: 11.11 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/2.703, allocations: 143.5 kB / 1.703 GB, free: 10.95 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01238/2.715, allocations: 4.655 MB / 1.708 GB, free: 8.66 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.000576/2.716, allocations: 59.64 kB / 1.708 GB, free: 8.617 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.003495/2.719, allocations: 2.482 MB / 1.71 GB, free: 6.398 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009527/2.72, allocations: 490.2 kB / 1.711 GB, free: 5.926 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002278/2.722, allocations: 0.6859 MB / 1.712 GB, free: 5.234 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001161/2.723, allocations: 311.6 kB / 1.712 GB, free: 4.93 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003766/2.726, allocations: 1.366 MB / 1.713 GB, free: 3.555 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004445/2.731, allocations: 2.502 MB / 1.716 GB, free: 0.5664 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00762/2.738, allocations: 3.684 MB / 1.719 GB, free: 12.57 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-05/2.738, allocations: 16 kB / 1.719 GB, free: 12.55 MB / 1.311 GB Notification: Performance of matching and sorting (n=420) (initialization): time 0.01093/2.749, allocations: 4.261 MB / 1.723 GB, free: 8.488 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 9.263e-05/2.75, allocations: 49.7 kB / 1.724 GB, free: 8.434 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.159e-05/2.75, allocations: 32 kB / 1.724 GB, free: 8.402 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.765e-05/2.75, allocations: 51.94 kB / 1.724 GB, free: 8.352 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003138/2.753, allocations: 0.7207 MB / 1.724 GB, free: 7.676 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.542e-05/2.753, allocations: 71.25 kB / 1.724 GB, free: 7.621 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005094/2.758, allocations: 0.529 MB / 1.725 GB, free: 7.09 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004392/2.759, allocations: 147.9 kB / 1.725 GB, free: 6.945 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00698/2.766, allocations: 2.516 MB / 1.727 GB, free: 4.422 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004875/2.77, allocations: 2.499 MB / 1.73 GB, free: 1.434 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007775/2.778, allocations: 3.681 MB / 1.734 GB, free: 13.43 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.473e-05/2.778, allocations: 12 kB / 1.734 GB, free: 13.42 MB / 1.326 GB Notification: Performance of matching and sorting (n=420) (initialization_lambda0): time 0.01291/2.791, allocations: 4.27 MB / 1.738 GB, free: 9.348 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 9.143e-05/2.791, allocations: 50.62 kB / 1.738 GB, free: 9.293 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.391e-05/2.792, allocations: 32 kB / 1.738 GB, free: 9.262 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.41e-05/2.792, allocations: 52 kB / 1.738 GB, free: 9.211 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003416/2.795, allocations: 0.7047 MB / 1.739 GB, free: 8.551 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.064e-05/2.795, allocations: 79.91 kB / 1.739 GB, free: 8.488 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00572/2.801, allocations: 439 kB / 1.739 GB, free: 8.059 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005993/2.802, allocations: 144 kB / 1.739 GB, free: 7.918 MB / 1.326 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 150 * 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 (352): * Single equations (assignments): 346 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 2 * 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.001363/2.803, allocations: 362.9 kB / 1.739 GB, free: 7.602 MB / 1.326 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001971/2.805, allocations: 464.9 kB / 1.74 GB, free: 7.145 MB / 1.326 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00693/2.812, allocations: 2.29 MB / 1.742 GB, free: 4.852 MB / 1.326 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004444/2.816, allocations: 1.899 MB / 1.744 GB, free: 2.883 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/2.816, allocations: 0 / 1.744 GB, free: 2.883 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002933/2.819, allocations: 0.7437 MB / 1.745 GB, free: 2.117 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001682/2.821, allocations: 24 kB / 1.745 GB, free: 2.094 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003405/2.824, allocations: 183.8 kB / 1.745 GB, free: 1.914 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002493/2.825, allocations: 80.88 kB / 1.745 GB, free: 1.836 MB / 1.326 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006033/2.831, allocations: 2.017 MB / 1.747 GB, free: 15.85 MB / 1.342 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007977/2.839, allocations: 3.237 MB / 1.75 GB, free: 12.6 MB / 1.342 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00213/2.841, allocations: 0.8197 MB / 1.751 GB, free: 11.78 MB / 1.342 GB Notification: Performance of sorting global known variables: time 0.007882/2.849, allocations: 3.119 MB / 1.754 GB, free: 8.68 MB / 1.342 GB Notification: Performance of Backend: time 3.317e-06/2.849, allocations: 4 kB / 1.754 GB, free: 8.676 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.01846/2.867, allocations: 5.549 MB / 1.759 GB, free: 3.453 MB / 1.342 GB Notification: Performance of SimCode: time 0.02879/2.896, allocations: 10.23 MB / 1.769 GB, free: 9.211 MB / 1.357 GB Notification: Performance of Templates: time 0.2002/3.096, allocations: 99.91 MB / 1.867 GB, free: 6.5 MB / 1.451 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.sim & ./Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches