Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.ThermalZoneHVACWithExhaust,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.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_9_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.001003/0.001003, allocations: 89.81 kB / 15.36 MB, free: 0.7383 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.009759/0.00976, allocations: 171.3 kB / 16.26 MB, free: 6.613 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.559/1.559, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.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.522/2.522, allocations: 390.9 MB / 0.6663 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003927/0.0003927, allocations: 12 kB / 0.816 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9107/0.9111, allocations: 142.4 MB / 0.955 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 1.283/2.194, allocations: 372.1 MB / 1.318 GB, free: 17.55 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.06713/2.261, allocations: 44.2 MB / 1.362 GB, free: 16.71 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01067/2.272, allocations: 148.5 kB / 1.362 GB, free: 16.71 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.009174/2.281, allocations: 2.373 MB / 1.364 GB, free: 16.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02384/2.305, allocations: 6.844 MB / 1.371 GB, free: 16.3 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01153/2.316, allocations: 3.409 MB / 1.374 GB, free: 16.19 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0256/2.342, allocations: 15.42 MB / 1.389 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01171/2.354, allocations: 4.552 MB / 1.394 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01749/2.371, allocations: 5.381 MB / 1.399 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01098/2.382, allocations: 3.418 MB / 1.402 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002239/2.384, allocations: 165 kB / 1.402 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01846/2.403, allocations: 6.827 MB / 1.409 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003897/2.407, allocations: 1.348 MB / 1.41 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.007846/2.415, allocations: 2.355 MB / 1.413 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02324/2.438, allocations: 9.158 MB / 1.422 GB, free: 13.41 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 9.769e-06/2.438, allocations: 0 / 1.422 GB, free: 13.41 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.477e-06/2.438, allocations: 0 / 1.422 GB, free: 13.41 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0003878/2.438, allocations: 0 / 1.422 GB, free: 13.41 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 856 * Number of variables: 856 Notification: Performance of Generate backend data structure: time 0.01475/2.453, allocations: 4.695 MB / 1.426 GB, free: 8.684 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/2.453, allocations: 16.03 kB / 1.426 GB, free: 8.668 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01357/2.467, allocations: 2.081 MB / 1.428 GB, free: 6.582 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01052/2.477, allocations: 3.67 MB / 1.432 GB, free: 2.93 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001705/2.479, allocations: 0.6328 MB / 1.432 GB, free: 2.273 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001508/2.481, allocations: 339.7 kB / 1.433 GB, free: 1.945 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0144/2.495, allocations: 4.595 MB / 1.437 GB, free: 13.26 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001372/2.495, allocations: 3.938 kB / 1.437 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009265/2.496, allocations: 140 kB / 1.437 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001857/2.496, allocations: 138.5 kB / 1.437 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01316/2.51, allocations: 4.155 MB / 1.442 GB, free: 8.816 MB / 1.029 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.03832/2.548, allocations: 18.72 MB / 1.46 GB, free: 4.902 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005241/2.553, allocations: 1.911 MB / 1.462 GB, free: 2.938 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002923/2.556, allocations: 0.9802 MB / 1.463 GB, free: 1.961 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008026/2.557, allocations: 411.8 kB / 1.463 GB, free: 1.488 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003261/2.56, allocations: 1.147 MB / 1.464 GB, free: 324 kB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002237/2.563, allocations: 150.2 kB / 1.464 GB, free: 172 kB / 1.045 GB Notification: Performance of pre-optimization done (n=133): time 8.747e-06/2.563, allocations: 0 / 1.464 GB, free: 172 kB / 1.045 GB Notification: Performance of matching and sorting (n=133): time 0.009912/2.573, allocations: 3.033 MB / 1.467 GB, free: 13.11 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/2.573, allocations: 153.8 kB / 1.467 GB, free: 12.92 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007819/2.581, allocations: 3.386 MB / 1.471 GB, free: 9.516 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0004262/2.581, allocations: 61.7 kB / 1.471 GB, free: 9.449 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.002681/2.584, allocations: 2.139 MB / 1.473 GB, free: 7.301 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008462/2.585, allocations: 475.8 kB / 1.473 GB, free: 6.84 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004988/2.585, allocations: 190.2 kB / 1.473 GB, free: 6.648 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001393/2.585, allocations: 301.1 kB / 1.474 GB, free: 6.352 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00328/2.589, allocations: 1.097 MB / 1.475 GB, free: 5.25 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004549/2.593, allocations: 2.131 MB / 1.477 GB, free: 2.633 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006756/2.6, allocations: 3.153 MB / 1.48 GB, free: 15.04 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.378e-05/2.6, allocations: 12 kB / 1.48 GB, free: 15.03 MB / 1.076 GB Notification: Performance of matching and sorting (n=292) (initialization): time 0.009569/2.61, allocations: 3.482 MB / 1.483 GB, free: 11.53 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.001168/2.611, allocations: 1.03 MB / 1.484 GB, free: 10.06 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.274e-05/2.611, allocations: 36 kB / 1.484 GB, free: 10.02 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.205e-05/2.611, allocations: 44 kB / 1.484 GB, free: 9.98 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00296/2.614, allocations: 0.6552 MB / 1.485 GB, free: 9.324 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-05/2.614, allocations: 59.8 kB / 1.485 GB, free: 9.266 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005751/2.62, allocations: 0.6367 MB / 1.486 GB, free: 8.629 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006186/2.62, allocations: 124 kB / 1.486 GB, free: 8.508 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/2.62, allocations: 4.109 kB / 1.486 GB, free: 8.504 MB / 1.076 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008711/2.629, allocations: 3.086 MB / 1.489 GB, free: 5.41 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001229/2.629, allocations: 32.66 kB / 1.489 GB, free: 5.379 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001283/2.629, allocations: 44 kB / 1.489 GB, free: 5.336 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003044/2.632, allocations: 0.6591 MB / 1.49 GB, free: 4.676 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001048/2.633, allocations: 63.78 kB / 1.49 GB, free: 4.613 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00499/2.638, allocations: 0.5276 MB / 1.49 GB, free: 4.086 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004106/2.638, allocations: 124 kB / 1.49 GB, free: 3.965 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 141 * 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 (288): * Single equations (assignments): 284 * Array equations: 3 * 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.002763/2.641, allocations: 1.168 MB / 1.491 GB, free: 2.785 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009296/2.642, allocations: 363.4 kB / 1.492 GB, free: 2.426 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006354/2.648, allocations: 2.423 MB / 1.494 GB, free: 15.97 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/2.648, allocations: 16 kB / 1.494 GB, free: 15.95 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/2.648, allocations: 0 / 1.494 GB, free: 15.95 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004663/2.653, allocations: 2.05 MB / 1.496 GB, free: 13.82 MB / 1.092 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 postOpt removeSimpleEquations (simulation): time 0.01541/2.668, allocations: 6.49 MB / 1.503 GB, free: 7.109 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.971e-05/2.668, allocations: 8 kB / 1.503 GB, free: 7.102 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001868/2.67, allocations: 348.1 kB / 1.503 GB, free: 6.762 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002893/2.671, allocations: 60.77 kB / 1.503 GB, free: 6.699 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001557/2.671, allocations: 39.98 kB / 1.503 GB, free: 6.66 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001481/2.672, allocations: 1.444 MB / 1.504 GB, free: 5.082 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.41e-05/2.672, allocations: 15.92 kB / 1.504 GB, free: 5.066 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008482/2.681, allocations: 3.469 MB / 1.508 GB, free: 1.449 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002223/2.683, allocations: 0.6097 MB / 1.508 GB, free: 0.8164 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001088/2.684, allocations: 40 kB / 1.508 GB, free: 0.7773 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003989/2.688, allocations: 347.5 kB / 1.509 GB, free: 448 kB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003097/2.688, allocations: 112.6 kB / 1.509 GB, free: 336 kB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002306/2.689, allocations: 71.95 kB / 1.509 GB, free: 264 kB / 1.092 GB Notification: Performance of sorting global known variables: time 0.007023/2.696, allocations: 2.291 MB / 1.511 GB, free: 13.96 MB / 1.107 GB Notification: Performance of sort global known variables: time 3.91e-07/2.696, allocations: 0 / 1.511 GB, free: 13.96 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.009791/2.706, allocations: 2.04 MB / 1.513 GB, free: 11.91 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (131): * Single equations (assignments): 128 * 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.001543/2.707, allocations: 0.4924 MB / 1.514 GB, free: 11.45 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.01091/2.718, allocations: 4.059 MB / 1.518 GB, free: 7.375 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.738e-05/2.718, allocations: 8.125 kB / 1.518 GB, free: 7.367 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.003003/2.721, allocations: 1.118 MB / 1.519 GB, free: 6.242 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01517/2.736, allocations: 1.623 MB / 1.52 GB, free: 4.633 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02162/2.758, allocations: 9.5 MB / 1.53 GB, free: 10.97 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003458/2.761, allocations: 2.669 MB / 1.532 GB, free: 8.27 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.006456/2.768, allocations: 1.072 MB / 1.533 GB, free: 7.195 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001207/2.769, allocations: 247.4 kB / 1.533 GB, free: 6.953 MB / 1.123 GB Notification: Performance of SimCode: time 1.102e-06/2.769, allocations: 7.938 kB / 1.533 GB, free: 6.945 MB / 1.123 GB Notification: Performance of Templates: time 0.1146/2.884, allocations: 60.43 MB / 1.593 GB, free: 11.34 MB / 1.186 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.sim & ./Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches