Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001553/0.001554, allocations: 103.9 kB / 16.41 MB, free: 6.508 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.001704/0.001704, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.439/1.439, 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 11.0.1-master/package.mo): time 2.744/2.744, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 67.89 kB / 1.055 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9472/0.9488, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.3909/1.34, allocations: 342.9 MB / 1.543 GB, free: 5.469 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.9966/2.336, allocations: 38.35 MB / 1.581 GB, free: 17.8 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007019/2.343, allocations: 139.1 kB / 1.581 GB, free: 17.8 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01129/2.355, allocations: 3.139 MB / 1.584 GB, free: 17.8 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.01954/2.374, allocations: 5.95 MB / 1.59 GB, free: 17.62 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.0101/2.384, allocations: 3.131 MB / 1.593 GB, free: 17.55 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.01966/2.404, allocations: 11.48 MB / 1.604 GB, free: 17.52 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007664/2.412, allocations: 4.217 MB / 1.608 GB, free: 17.01 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01341/2.425, allocations: 4.988 MB / 1.613 GB, free: 16.95 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007369/2.433, allocations: 2.769 MB / 1.616 GB, free: 16.93 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.001488/2.434, allocations: 383.2 kB / 1.616 GB, free: 16.93 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0135/2.448, allocations: 5.309 MB / 1.621 GB, free: 16.88 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.002692/2.45, allocations: 1.403 MB / 1.623 GB, free: 16.88 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.007384/2.458, allocations: 2.257 MB / 1.625 GB, free: 16.49 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.01894/2.477, allocations: 7.716 MB / 1.632 GB, free: 15.53 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/2.477, allocations: 0 / 1.632 GB, free: 15.53 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.455e-06/2.477, allocations: 7.938 kB / 1.632 GB, free: 15.52 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0002142/2.477, allocations: 0 / 1.632 GB, free: 15.52 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.01526/2.492, allocations: 4.793 MB / 1.637 GB, free: 13.29 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/2.492, allocations: 8.562 kB / 1.637 GB, free: 13.29 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009529/2.502, allocations: 1.483 MB / 1.639 GB, free: 13.02 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008759/2.511, allocations: 3.908 MB / 1.642 GB, free: 12.26 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000329/2.511, allocations: 285.9 kB / 1.643 GB, free: 12.16 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009503/2.512, allocations: 262.1 kB / 1.643 GB, free: 12.16 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007209/2.519, allocations: 3.369 MB / 1.646 GB, free: 11.84 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.073e-05/2.519, allocations: 0 / 1.646 GB, free: 11.84 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002791/2.52, allocations: 109.7 kB / 1.646 GB, free: 11.84 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.504e-05/2.52, allocations: 109.5 kB / 1.646 GB, free: 11.82 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00657/2.526, allocations: 2.982 MB / 1.649 GB, free: 11.76 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.02336/2.55, allocations: 14.56 MB / 1.663 GB, free: 4.5 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00349/2.553, allocations: 1.582 MB / 1.665 GB, free: 4.234 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001472/2.555, allocations: 0.6877 MB / 1.666 GB, free: 4.219 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003487/2.555, allocations: 305.3 kB / 1.666 GB, free: 3.934 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00176/2.557, allocations: 0.8031 MB / 1.667 GB, free: 3.848 MB / 1.279 GB Notification: Performance of pre-optimization done (n=103): time 2.715e-06/2.557, allocations: 4 kB / 1.667 GB, free: 3.844 MB / 1.279 GB Notification: Performance of matching and sorting (n=103): time 0.005993/2.563, allocations: 2.186 MB / 1.669 GB, free: 3.508 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.676e-05/2.563, allocations: 117.3 kB / 1.669 GB, free: 3.383 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005399/2.568, allocations: 3.192 MB / 1.672 GB, free: 3.098 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0003407/2.569, allocations: 51.05 kB / 1.672 GB, free: 3.066 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.00142/2.57, allocations: 1.724 MB / 1.674 GB, free: 2.457 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003734/2.571, allocations: 377.7 kB / 1.674 GB, free: 2.23 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006656/2.571, allocations: 471.3 kB / 1.675 GB, free: 2.184 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 4.332e-05/2.571, allocations: 304.6 kB / 1.675 GB, free: 1.887 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002043/2.573, allocations: 0.9283 MB / 1.676 GB, free: 1.855 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00246/2.576, allocations: 1.699 MB / 1.678 GB, free: 0.9297 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003944/2.58, allocations: 2.497 MB / 1.68 GB, free: 28 kB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-05/2.58, allocations: 5.531 kB / 1.68 GB, free: 28 kB / 1.279 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.006365/2.586, allocations: 2.918 MB / 1.683 GB, free: 15.74 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 6.281e-05/2.586, allocations: 42.56 kB / 1.683 GB, free: 15.71 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.503e-05/2.586, allocations: 23.53 kB / 1.683 GB, free: 15.71 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.744e-05/2.586, allocations: 31.66 kB / 1.683 GB, free: 15.71 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002042/2.588, allocations: 0.5074 MB / 1.683 GB, free: 15.7 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.396e-05/2.588, allocations: 47.86 kB / 1.683 GB, free: 15.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003525/2.592, allocations: 386.7 kB / 1.684 GB, free: 15.55 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001937/2.592, allocations: 104.2 kB / 1.684 GB, free: 15.55 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003694/2.596, allocations: 1.718 MB / 1.686 GB, free: 15.45 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003178/2.599, allocations: 1.702 MB / 1.687 GB, free: 14.54 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0067/2.606, allocations: 2.496 MB / 1.69 GB, free: 13.63 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.28e-05/2.606, allocations: 5.094 kB / 1.69 GB, free: 13.63 MB / 1.295 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.01039/2.616, allocations: 2.915 MB / 1.693 GB, free: 13.14 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 7.389e-05/2.616, allocations: 42.2 kB / 1.693 GB, free: 13.11 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.384e-05/2.616, allocations: 20 kB / 1.693 GB, free: 13.11 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.201e-05/2.617, allocations: 34.66 kB / 1.693 GB, free: 13.11 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003221/2.62, allocations: 0.5062 MB / 1.693 GB, free: 13.03 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.728e-05/2.62, allocations: 48.8 kB / 1.693 GB, free: 13.02 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005453/2.625, allocations: 324.2 kB / 1.694 GB, free: 12.89 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004662/2.626, allocations: 107.4 kB / 1.694 GB, free: 12.88 MB / 1.295 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.0009252/2.627, allocations: 307.6 kB / 1.694 GB, free: 12.69 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001561/2.628, allocations: 309.6 kB / 1.694 GB, free: 12.52 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006654/2.635, allocations: 1.68 MB / 1.696 GB, free: 12.1 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-05/2.635, allocations: 8.812 kB / 1.696 GB, free: 12.1 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.061e-05/2.635, allocations: 3.344 kB / 1.696 GB, free: 12.1 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004564/2.64, allocations: 1.297 MB / 1.697 GB, free: 11.74 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01879/2.659, allocations: 4.581 MB / 1.702 GB, free: 8.23 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.13e-05/2.659, allocations: 8 kB / 1.702 GB, free: 8.223 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001479/2.66, allocations: 242 kB / 1.702 GB, free: 7.996 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002778/2.66, allocations: 55.45 kB / 1.702 GB, free: 7.941 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001499/2.661, allocations: 31.98 kB / 1.702 GB, free: 7.91 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001605/2.662, allocations: 1.534 MB / 1.703 GB, free: 6.246 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.058e-05/2.662, allocations: 14.56 kB / 1.703 GB, free: 6.234 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006712/2.669, allocations: 2.511 MB / 1.706 GB, free: 3.672 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002633/2.672, allocations: 0.5515 MB / 1.706 GB, free: 3.098 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001424/2.673, allocations: 31.92 kB / 1.706 GB, free: 3.066 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003293/2.676, allocations: 139.9 kB / 1.707 GB, free: 2.93 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002686/2.677, allocations: 89.66 kB / 1.707 GB, free: 2.848 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002083/2.677, allocations: 47.97 kB / 1.707 GB, free: 2.801 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.006099/2.683, allocations: 2.148 MB / 1.709 GB, free: 0.668 MB / 1.295 GB Notification: Performance of sort global known variables: time 8.21e-07/2.683, allocations: 0 / 1.709 GB, free: 0.668 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.008291/2.691, allocations: 1.698 MB / 1.71 GB, free: 14.96 MB / 1.311 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (102): * Single equations (assignments): 99 * 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.002083/2.693, allocations: 0.5824 MB / 1.711 GB, free: 14.43 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.009685/2.703, allocations: 3.391 MB / 1.714 GB, free: 11.18 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 1.886e-05/2.703, allocations: 4 kB / 1.714 GB, free: 11.18 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.002394/2.706, allocations: 0.7963 MB / 1.715 GB, free: 10.41 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00976/2.715, allocations: 1.498 MB / 1.717 GB, free: 8.938 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01886/2.734, allocations: 6.32 MB / 1.723 GB, free: 2.535 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004197/2.739, allocations: 2.266 MB / 1.725 GB, free: 248 kB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001399/2.74, allocations: 243.4 kB / 1.725 GB, free: 8 kB / 1.311 GB Notification: Performance of SimCode: time 9.61e-07/2.74, allocations: 0 / 1.725 GB, free: 8 kB / 1.311 GB Notification: Performance of Templates: time 0.1466/2.887, allocations: 62.78 MB / 1.787 GB, free: 1.676 MB / 1.373 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.sim & ./Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches