Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.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.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conHeaFan.yHea|conHeaFan.yFan|conHeaFan.TSetRooCoo|conHeaFan.TRoo|conHeaFan.TSetRooHea",fileNamePrefix="Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") translateModel(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conHeaFan.yHea|conHeaFan.yFan|conHeaFan.TSetRooCoo|conHeaFan.TRoo|conHeaFan.TSetRooHea",fileNamePrefix="Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002124/0.002124, allocations: 195.3 kB / 16.14 MB, free: 6.719 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.333/1.333, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.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.505/2.505, allocations: 437 MB / 0.7099 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 68.11 kB / 0.8686 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6494/0.6506, allocations: 151.6 MB / 1.017 GB, free: 2.938 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004412/0.6551, allocations: 3.143 MB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001776/0.6569, allocations: 1.056 MB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000245/0.6572, allocations: 23.88 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002499/0.6574, allocations: 67.44 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001956/0.6577, allocations: 87.3 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000631/0.6583, allocations: 320.1 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004853/0.6588, allocations: 0.5778 MB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003504/0.6592, allocations: 245.9 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002041/0.6594, allocations: 175 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002063/0.6596, allocations: 198.8 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.892e-05/0.6596, allocations: 16 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.993e-05/0.6597, allocations: 20 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.135e-05/0.6598, allocations: 79.5 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001524/0.6599, allocations: 202.7 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004664/0.6604, allocations: 0.6404 MB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.6604, allocations: 0 / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.61e-07/0.6604, allocations: 0 / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.094e-05/0.6604, allocations: 0 / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001156/0.6616, allocations: 0.8198 MB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.6616, allocations: 12.03 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.684e-05/0.6617, allocations: 56.28 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007004/0.6624, allocations: 0.4944 MB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.6625, allocations: 25.03 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.661e-05/0.6625, allocations: 28.38 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006096/0.6631, allocations: 375.1 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.6632, allocations: 7.938 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.06e-05/0.6632, allocations: 11.98 kB / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.6632, allocations: 8 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005551/0.6638, allocations: 250.1 kB / 1.025 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.6652, allocations: 1.44 MB / 1.027 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006451/0.6659, allocations: 278.3 kB / 1.027 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002673/0.6661, allocations: 140.7 kB / 1.027 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/0.6662, allocations: 3.984 kB / 1.027 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.6662, allocations: 42.55 kB / 1.027 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=23): time 1.383e-06/0.6662, allocations: 0 / 1.027 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.0008427/0.6671, allocations: 354.5 kB / 1.027 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.6671, allocations: 59.41 kB / 1.028 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003886/0.6675, allocations: 417.8 kB / 1.028 GB, free: 7.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.6675, allocations: 29.7 kB / 1.028 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.6677, allocations: 260.1 kB / 1.028 GB, free: 6.777 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.298e-05/0.6678, allocations: 74.91 kB / 1.028 GB, free: 6.703 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.66e-05/0.6679, allocations: 57.89 kB / 1.028 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.668, allocations: 358.7 kB / 1.029 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000237/0.6682, allocations: 96.52 kB / 1.029 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002643/0.6685, allocations: 164.7 kB / 1.029 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004941/0.669, allocations: 273 kB / 1.029 GB, free: 5.703 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.669, allocations: 4 kB / 1.029 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006193/0.6696, allocations: 340.9 kB / 1.03 GB, free: 5.363 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.6697, allocations: 4 kB / 1.03 GB, free: 5.359 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.6697, allocations: 4 kB / 1.03 GB, free: 5.355 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.6697, allocations: 4 kB / 1.03 GB, free: 5.352 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002773/0.67, allocations: 59.91 kB / 1.03 GB, free: 5.293 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.67, allocations: 11.92 kB / 1.03 GB, free: 5.281 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.6702, allocations: 39.61 kB / 1.03 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.6702, allocations: 8.156 kB / 1.03 GB, free: 5.234 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (conHeaFan.conFan.I.trigger_internal,conHeaFan.conHeaCoi.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * 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.0001638/0.6704, allocations: 174.3 kB / 1.03 GB, free: 5.055 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.6705, allocations: 43.44 kB / 1.03 GB, free: 5.012 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.704e-05/0.6705, allocations: 47.97 kB / 1.03 GB, free: 4.969 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.6706, allocations: 7.938 kB / 1.03 GB, free: 4.961 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.6706, allocations: 0 / 1.03 GB, free: 4.961 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.6706, allocations: 3.938 kB / 1.03 GB, free: 4.957 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004248/0.671, allocations: 437.2 kB / 1.03 GB, free: 4.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.671, allocations: 0 / 1.03 GB, free: 4.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002659/0.6713, allocations: 51.95 kB / 1.03 GB, free: 4.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.6713, allocations: 4 kB / 1.03 GB, free: 4.426 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.6713, allocations: 8 kB / 1.03 GB, free: 4.418 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.6713, allocations: 3.938 kB / 1.03 GB, free: 4.414 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.6713, allocations: 0 / 1.03 GB, free: 4.414 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008397/0.6722, allocations: 0.4991 MB / 1.031 GB, free: 3.898 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.6723, allocations: 140.5 kB / 1.031 GB, free: 3.742 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.655e-05/0.6724, allocations: 8 kB / 1.031 GB, free: 3.734 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.6726, allocations: 11.98 kB / 1.031 GB, free: 3.723 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.034e-05/0.6726, allocations: 15.97 kB / 1.031 GB, free: 3.707 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.6726, allocations: 15.88 kB / 1.031 GB, free: 3.691 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002791/0.6729, allocations: 291.2 kB / 1.031 GB, free: 3.406 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6729, allocations: 0 / 1.031 GB, free: 3.406 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003134/0.6733, allocations: 63.84 kB / 1.031 GB, free: 3.344 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (conHeaFan.conHeaCoi.I.y,conHeaFan.conFan.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001095/0.6734, allocations: 107.2 kB / 1.032 GB, free: 3.227 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005414/0.6739, allocations: 246.1 kB / 1.032 GB, free: 2.988 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.6739, allocations: 0 / 1.032 GB, free: 2.988 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002403/0.6742, allocations: 111.9 kB / 1.032 GB, free: 2.879 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007116/0.6749, allocations: 120.2 kB / 1.032 GB, free: 2.766 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.6762, allocations: 0.8959 MB / 1.033 GB, free: 1.84 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.6765, allocations: 0.8233 MB / 1.034 GB, free: 0.9922 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000189/0.6767, allocations: 43.27 kB / 1.034 GB, free: 0.9531 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.845e-05/0.6768, allocations: 35.36 kB / 1.034 GB, free: 0.918 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.6768, allocations: 4 kB / 1.034 GB, free: 0.9141 MB / 0.7794 GB Notification: Performance of Templates: time 0.006917/0.6837, allocations: 3.58 MB / 1.037 GB, free: 13.4 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile (rm -f Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & ./Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches