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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001169/0.001169, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.00119/0.00119, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.565/1.565, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.537/2.537, allocations: 390.9 MB / 0.666 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003218/0.000322, allocations: 8 kB / 0.8153 GB, free: 13.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9056/0.9059, allocations: 142.4 MB / 0.9544 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 1.288/2.194, allocations: 347.1 MB / 1.293 GB, free: 25.63 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.05278/2.247, allocations: 41.46 MB / 1.334 GB, free: 25.06 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01061/2.258, allocations: 143.1 kB / 1.334 GB, free: 25.06 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.007751/2.266, allocations: 1.784 MB / 1.336 GB, free: 25.04 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02091/2.286, allocations: 5.305 MB / 1.341 GB, free: 24.8 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01058/2.297, allocations: 2.786 MB / 1.344 GB, free: 24.7 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02057/2.318, allocations: 13.08 MB / 1.356 GB, free: 24.67 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01298/2.331, allocations: 3.935 MB / 1.36 GB, free: 24.12 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01915/2.35, allocations: 4.856 MB / 1.365 GB, free: 24.04 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0107/2.361, allocations: 3.284 MB / 1.368 GB, free: 23.48 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001926/2.363, allocations: 168.3 kB / 1.368 GB, free: 23.48 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01498/2.378, allocations: 3.353 MB / 1.372 GB, free: 22.77 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.004246/2.382, allocations: 1.329 MB / 1.373 GB, free: 22.34 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004736/2.387, allocations: 1.007 MB / 1.374 GB, free: 22.3 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01496/2.402, allocations: 6.614 MB / 1.38 GB, free: 18.93 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/2.402, allocations: 0 / 1.38 GB, free: 18.93 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.554e-06/2.402, allocations: 0 / 1.38 GB, free: 18.93 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000376/2.402, allocations: 0 / 1.38 GB, free: 18.93 MB / 0.9981 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.01512/2.417, allocations: 4.763 MB / 1.385 GB, free: 16.04 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/2.417, allocations: 10.31 kB / 1.385 GB, free: 16.04 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01272/2.43, allocations: 2.084 MB / 1.387 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01083/2.441, allocations: 3.485 MB / 1.39 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001656/2.443, allocations: 0.6873 MB / 1.391 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00139/2.444, allocations: 345.6 kB / 1.391 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01124/2.455, allocations: 4.678 MB / 1.396 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.965e-05/2.455, allocations: 2.906 kB / 1.396 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004021/2.456, allocations: 141.7 kB / 1.396 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001206/2.456, allocations: 139.5 kB / 1.396 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009112/2.465, allocations: 4.323 MB / 1.401 GB, free: 11.48 MB / 0.9981 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.02955/2.495, allocations: 18.94 MB / 1.419 GB, free: 12.04 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005276/2.5, allocations: 2.211 MB / 1.421 GB, free: 10.38 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002737/2.503, allocations: 1.145 MB / 1.422 GB, free: 9.551 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008354/2.504, allocations: 451.7 kB / 1.423 GB, free: 9.055 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003253/2.507, allocations: 1.34 MB / 1.424 GB, free: 8.008 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002648/2.51, allocations: 174.6 kB / 1.424 GB, free: 7.859 MB / 1.014 GB Notification: Performance of pre-optimization done (n=135): time 9.558e-06/2.51, allocations: 5.859 kB / 1.424 GB, free: 7.855 MB / 1.014 GB Notification: Performance of matching and sorting (n=135): time 0.009802/2.519, allocations: 3.507 MB / 1.428 GB, free: 5.086 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.876e-05/2.52, allocations: 145.8 kB / 1.428 GB, free: 4.914 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006088/2.526, allocations: 3.66 MB / 1.431 GB, free: 2.223 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003472/2.526, allocations: 64.27 kB / 1.431 GB, free: 2.18 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001875/2.528, allocations: 2.011 MB / 1.433 GB, free: 1.086 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006459/2.529, allocations: 478.3 kB / 1.434 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/2.529, allocations: 36.88 kB / 1.434 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001756/2.529, allocations: 378.8 kB / 1.434 GB, free: 336 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003153/2.532, allocations: 1.206 MB / 1.435 GB, free: 15.43 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003469/2.536, allocations: 1.84 MB / 1.437 GB, free: 13.69 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003302/2.539, allocations: 1.368 MB / 1.439 GB, free: 12.7 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.144e-05/2.539, allocations: 4 kB / 1.439 GB, free: 12.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=231) (initialization): time 0.00848/2.547, allocations: 3.377 MB / 1.442 GB, free: 10.12 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004986/2.548, allocations: 0.5862 MB / 1.442 GB, free: 9.367 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.33e-05/2.548, allocations: 17.97 kB / 1.442 GB, free: 9.352 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.903e-05/2.548, allocations: 28 kB / 1.442 GB, free: 9.324 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00275/2.551, allocations: 0.5988 MB / 1.443 GB, free: 8.766 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.844e-05/2.551, allocations: 33.89 kB / 1.443 GB, free: 8.738 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005168/2.556, allocations: 0.6777 MB / 1.444 GB, free: 8.094 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003622/2.556, allocations: 96.95 kB / 1.444 GB, free: 8.012 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/2.556, allocations: 4 kB / 1.444 GB, free: 8.008 MB / 1.029 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007455/2.564, allocations: 3.018 MB / 1.447 GB, free: 5.805 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.257e-05/2.564, allocations: 16 kB / 1.447 GB, free: 5.789 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.155e-05/2.564, allocations: 28 kB / 1.447 GB, free: 5.762 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002771/2.567, allocations: 0.5961 MB / 1.447 GB, free: 5.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.604e-05/2.567, allocations: 39.81 kB / 1.447 GB, free: 5.141 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004996/2.572, allocations: 0.5833 MB / 1.448 GB, free: 4.582 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002818/2.572, allocations: 92.47 kB / 1.448 GB, free: 4.508 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (227): * Single equations (assignments): 223 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002811/2.575, allocations: 1.118 MB / 1.449 GB, free: 3.773 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001232/2.576, allocations: 365.8 kB / 1.45 GB, free: 3.414 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006993/2.583, allocations: 2.769 MB / 1.452 GB, free: 1.359 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.021e-05/2.583, allocations: 12 kB / 1.452 GB, free: 1.348 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/2.583, allocations: 1.859 kB / 1.452 GB, free: 1.348 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005124/2.588, allocations: 2.341 MB / 1.455 GB, free: 15.43 MB / 1.045 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.01573/2.604, allocations: 7.226 MB / 1.462 GB, free: 9.984 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.507e-05/2.604, allocations: 8 kB / 1.462 GB, free: 9.977 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002044/2.606, allocations: 396.2 kB / 1.462 GB, free: 9.598 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002624/2.606, allocations: 57.27 kB / 1.462 GB, free: 9.551 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001336/2.607, allocations: 45.34 kB / 1.462 GB, free: 9.523 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00134/2.608, allocations: 1.454 MB / 1.463 GB, free: 8.055 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.289e-05/2.608, allocations: 16.08 kB / 1.464 GB, free: 8.039 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00891/2.617, allocations: 4.02 MB / 1.467 GB, free: 4.828 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001981/2.619, allocations: 0.7002 MB / 1.468 GB, free: 4.27 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006071/2.62, allocations: 37.05 kB / 1.468 GB, free: 4.25 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003242/2.623, allocations: 435.6 kB / 1.469 GB, free: 3.844 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002433/2.623, allocations: 117.5 kB / 1.469 GB, free: 3.742 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001712/2.623, allocations: 68.2 kB / 1.469 GB, free: 3.688 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.005531/2.629, allocations: 2.537 MB / 1.471 GB, free: 1.867 MB / 1.045 GB Notification: Performance of sort global known variables: time 6.81e-07/2.629, allocations: 0 / 1.471 GB, free: 1.867 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.007168/2.636, allocations: 2.021 MB / 1.473 GB, free: 15.93 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * 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 (133): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001266/2.637, allocations: 0.5062 MB / 1.474 GB, free: 15.49 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.01092/2.648, allocations: 4.231 MB / 1.478 GB, free: 12.19 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.529e-05/2.648, allocations: 0 / 1.478 GB, free: 12.19 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.003306/2.652, allocations: 1.287 MB / 1.479 GB, free: 11.17 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01082/2.662, allocations: 1.928 MB / 1.481 GB, free: 9.586 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02044/2.683, allocations: 9.356 MB / 1.49 GB, free: 0.8672 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002713/2.686, allocations: 2.673 MB / 1.493 GB, free: 14.37 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.005736/2.691, allocations: 1.01 MB / 1.494 GB, free: 13.36 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001068/2.692, allocations: 260.5 kB / 1.494 GB, free: 13.11 MB / 1.076 GB Notification: Performance of SimCode: time 8.82e-07/2.693, allocations: 4 kB / 1.494 GB, free: 13.11 MB / 1.076 GB Notification: Performance of Templates: time 0.1271/2.82, allocations: 67.47 MB / 1.56 GB, free: 10.55 MB / 1.139 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