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.001592/0.001592, allocations: 109 kB / 16.41 MB, free: 6.488 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.001879/0.001879, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.361/1.361, 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.619/2.619, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 71.83 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9532/0.9545, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.4194/1.374, allocations: 380.2 MB / 1.539 GB, free: 6.316 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 1.165/2.539, allocations: 46.5 MB / 1.584 GB, free: 17.88 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009817/2.549, allocations: 178.7 kB / 1.584 GB, free: 17.88 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.0116/2.56, allocations: 3.729 MB / 1.588 GB, free: 17.88 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.02382/2.584, allocations: 7.895 MB / 1.595 GB, free: 17.66 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.01168/2.596, allocations: 3.986 MB / 1.599 GB, free: 17.57 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.02721/2.623, allocations: 17.37 MB / 1.616 GB, free: 17.52 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01217/2.635, allocations: 5.626 MB / 1.622 GB, free: 16.79 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01811/2.653, allocations: 6.551 MB / 1.628 GB, free: 16.71 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01155/2.665, allocations: 3.76 MB / 1.632 GB, free: 16.69 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.003694/2.669, allocations: 0.5051 MB / 1.632 GB, free: 16.69 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01864/2.687, allocations: 6.366 MB / 1.639 GB, free: 16.63 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.005072/2.692, allocations: 2.014 MB / 1.641 GB, free: 16.55 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.01029/2.703, allocations: 3.151 MB / 1.644 GB, free: 15.66 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.02563/2.728, allocations: 10.37 MB / 1.654 GB, free: 14.35 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 1.353e-05/2.729, allocations: 0 / 1.654 GB, free: 14.35 MB / 1.279 GB Notification: Performance of FrontEnd: time 3.387e-06/2.729, allocations: 0 / 1.654 GB, free: 14.35 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0006015/2.729, allocations: 2.594 kB / 1.654 GB, free: 14.35 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.02553/2.755, allocations: 6.479 MB / 1.66 GB, free: 11.39 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/2.755, allocations: 10.06 kB / 1.66 GB, free: 11.39 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01368/2.768, allocations: 2.009 MB / 1.662 GB, free: 11.01 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01643/2.785, allocations: 5.867 MB / 1.668 GB, free: 10.02 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007984/2.786, allocations: 386.7 kB / 1.668 GB, free: 9.883 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002296/2.788, allocations: 346.4 kB / 1.669 GB, free: 9.883 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01725/2.805, allocations: 4.509 MB / 1.673 GB, free: 9.473 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002264/2.806, allocations: 9.188 kB / 1.673 GB, free: 9.469 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001551/2.807, allocations: 140.8 kB / 1.673 GB, free: 9.469 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002704/2.808, allocations: 137 kB / 1.673 GB, free: 9.461 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01304/2.821, allocations: 3.949 MB / 1.677 GB, free: 9.387 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.04234/2.863, allocations: 19.52 MB / 1.696 GB, free: 13.64 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005027/2.868, allocations: 1.742 MB / 1.698 GB, free: 13.16 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002506/2.871, allocations: 0.9039 MB / 1.699 GB, free: 13.01 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000782/2.871, allocations: 412.7 kB / 1.699 GB, free: 12.6 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002694/2.874, allocations: 1.047 MB / 1.7 GB, free: 12.25 MB / 1.295 GB Notification: Performance of pre-optimization done (n=127): time 5.16e-06/2.874, allocations: 0 / 1.7 GB, free: 12.25 MB / 1.295 GB Notification: Performance of matching and sorting (n=127): time 0.009313/2.884, allocations: 2.885 MB / 1.703 GB, free: 11.46 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/2.884, allocations: 144.5 kB / 1.703 GB, free: 11.3 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01042/2.894, allocations: 4.653 MB / 1.708 GB, free: 8.988 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0005824/2.895, allocations: 61.52 kB / 1.708 GB, free: 8.945 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.002571/2.897, allocations: 2.436 MB / 1.71 GB, free: 6.754 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007927/2.898, allocations: 465.4 kB / 1.71 GB, free: 6.305 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001208/2.899, allocations: 0.6846 MB / 1.711 GB, free: 5.613 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001159/2.899, allocations: 309.1 kB / 1.711 GB, free: 5.309 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003093/2.903, allocations: 1.37 MB / 1.713 GB, free: 3.93 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003892/2.906, allocations: 2.502 MB / 1.715 GB, free: 0.9414 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007002/2.913, allocations: 3.681 MB / 1.719 GB, free: 12.95 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.242e-05/2.914, allocations: 8 kB / 1.719 GB, free: 12.94 MB / 1.311 GB Notification: Performance of matching and sorting (n=420) (initialization): time 0.01155/2.925, allocations: 4.249 MB / 1.723 GB, free: 8.887 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 8.743e-05/2.925, allocations: 49.69 kB / 1.723 GB, free: 8.832 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.32e-05/2.925, allocations: 32 kB / 1.723 GB, free: 8.801 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.719e-05/2.925, allocations: 52.8 kB / 1.723 GB, free: 8.75 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003216/2.929, allocations: 0.7085 MB / 1.724 GB, free: 8.086 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.98e-05/2.929, allocations: 75.25 kB / 1.724 GB, free: 8.027 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005494/2.934, allocations: 0.528 MB / 1.724 GB, free: 7.496 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004023/2.935, allocations: 143.9 kB / 1.725 GB, free: 7.355 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00642/2.941, allocations: 2.512 MB / 1.727 GB, free: 4.836 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004426/2.945, allocations: 2.507 MB / 1.729 GB, free: 1.84 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006902/2.952, allocations: 3.674 MB / 1.733 GB, free: 13.84 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.289e-05/2.952, allocations: 12 kB / 1.733 GB, free: 13.83 MB / 1.326 GB Notification: Performance of matching and sorting (n=420) (initialization_lambda0): time 0.01202/2.965, allocations: 4.25 MB / 1.737 GB, free: 9.777 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 7.922e-05/2.965, allocations: 45.86 kB / 1.737 GB, free: 9.727 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.718e-05/2.965, allocations: 36 kB / 1.737 GB, free: 9.691 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002379/2.965, allocations: 48 kB / 1.737 GB, free: 9.645 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003456/2.968, allocations: 0.7186 MB / 1.738 GB, free: 8.973 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.321e-05/2.969, allocations: 74.88 kB / 1.738 GB, free: 8.914 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005927/2.974, allocations: 434.3 kB / 1.738 GB, free: 8.488 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005246/2.975, allocations: 144 kB / 1.739 GB, free: 8.348 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.001102/2.976, allocations: 367 kB / 1.739 GB, free: 8.027 MB / 1.326 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001657/2.978, allocations: 438.4 kB / 1.739 GB, free: 7.594 MB / 1.326 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00665/2.984, allocations: 2.296 MB / 1.742 GB, free: 5.297 MB / 1.326 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/2.985, allocations: 12 kB / 1.742 GB, free: 5.285 MB / 1.326 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/2.985, allocations: 4 kB / 1.742 GB, free: 5.281 MB / 1.326 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00455/2.989, allocations: 1.895 MB / 1.744 GB, free: 3.316 MB / 1.326 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01936/3.008, allocations: 6.676 MB / 1.75 GB, free: 12.5 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-05/3.009, allocations: 15.98 kB / 1.75 GB, free: 12.49 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001877/3.01, allocations: 324 kB / 1.75 GB, free: 12.19 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002666/3.011, allocations: 56.83 kB / 1.75 GB, free: 12.13 MB / 1.342 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001168/3.011, allocations: 51.72 kB / 1.75 GB, free: 12.08 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001999/3.013, allocations: 1.547 MB / 1.752 GB, free: 10.41 MB / 1.342 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.216e-05/3.013, allocations: 16.03 kB / 1.752 GB, free: 10.4 MB / 1.342 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008907/3.022, allocations: 3.353 MB / 1.755 GB, free: 6.938 MB / 1.342 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003261/3.025, allocations: 0.7256 MB / 1.756 GB, free: 6.188 MB / 1.342 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001403/3.027, allocations: 43.98 kB / 1.756 GB, free: 6.145 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003564/3.03, allocations: 187.8 kB / 1.756 GB, free: 5.961 MB / 1.342 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002791/3.03, allocations: 118.1 kB / 1.756 GB, free: 5.855 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001866/3.031, allocations: 63.95 kB / 1.756 GB, free: 5.793 MB / 1.342 GB Notification: Performance of sorting global known variables: time 0.00798/3.039, allocations: 3.115 MB / 1.759 GB, free: 2.695 MB / 1.342 GB Notification: Performance of sort global known variables: time 4.21e-07/3.039, allocations: 0 / 1.759 GB, free: 2.695 MB / 1.342 GB Notification: Performance of remove unused functions: time 0.01143/3.05, allocations: 2.303 MB / 1.762 GB, free: 396 kB / 1.342 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * 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 (125): * Single equations (assignments): 122 * 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.002079/3.052, allocations: 0.6313 MB / 1.762 GB, free: 15.81 MB / 1.357 GB Notification: Performance of simCode: created initialization part: time 0.01199/3.064, allocations: 4.842 MB / 1.767 GB, free: 11.2 MB / 1.357 GB Notification: Performance of simCode: created event and clocks part: time 1.548e-05/3.064, allocations: 0 / 1.767 GB, free: 11.2 MB / 1.357 GB Notification: Performance of simCode: created simulation system equations: time 0.002869/3.067, allocations: 1.01 MB / 1.768 GB, free: 10.22 MB / 1.357 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01167/3.079, allocations: 2.138 MB / 1.77 GB, free: 8.129 MB / 1.357 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02174/3.101, allocations: 9.047 MB / 1.779 GB, free: 14.95 MB / 1.373 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003101/3.104, allocations: 2.982 MB / 1.782 GB, free: 11.94 MB / 1.373 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001653/3.105, allocations: 335.3 kB / 1.782 GB, free: 11.61 MB / 1.373 GB Notification: Performance of SimCode: time 5.61e-07/3.105, allocations: 0 / 1.782 GB, free: 11.61 MB / 1.373 GB Notification: Performance of Templates: time 0.1373/3.243, allocations: 87.78 MB / 1.868 GB, free: 4.355 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