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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008502/0.0008551, 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.0009023/0.0009022, 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.362/1.362, allocations: 223.3 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.575/2.575, allocations: 437.7 MB / 0.7117 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003341/0.0003341, allocations: 11.94 kB / 0.8722 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5835/0.5838, allocations: 153.8 MB / 1.022 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.002864/0.5867, allocations: 2.627 MB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001551/0.5883, allocations: 1.025 MB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002129/0.5885, allocations: 15.94 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002041/0.5887, allocations: 63.38 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001742/0.5889, allocations: 71.38 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005688/0.5895, allocations: 235.4 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004995/0.59, allocations: 0.5465 MB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002643/0.5903, allocations: 157.8 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002039/0.5905, allocations: 151.1 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.5907, allocations: 151 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.791e-05/0.5907, allocations: 12 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.378e-05/0.5908, allocations: 8 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.203e-05/0.5908, allocations: 59.64 kB / 1.027 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.775e-05/0.5909, allocations: 109.4 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004139/0.5913, allocations: 0.5162 MB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.5913, allocations: 0 / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5914, allocations: 0 / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.5914, allocations: 0 / 1.028 GB, free: 10.29 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.001049/0.5924, allocations: 0.7531 MB / 1.029 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.5925, allocations: 8.562 kB / 1.029 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.483e-05/0.5925, allocations: 59.25 kB / 1.029 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007063/0.5933, allocations: 489.4 kB / 1.029 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.5933, allocations: 20.66 kB / 1.029 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.874e-05/0.5933, allocations: 31.98 kB / 1.029 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006173/0.594, allocations: 382.7 kB / 1.03 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.594, allocations: 0 / 1.03 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.171e-05/0.594, allocations: 16 kB / 1.03 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.594, allocations: 8 kB / 1.03 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005694/0.5946, allocations: 262 kB / 1.03 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001464/0.5961, allocations: 1.44 MB / 1.031 GB, free: 6.648 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006412/0.5967, allocations: 266.9 kB / 1.032 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000282/0.597, allocations: 144.8 kB / 1.032 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.5971, allocations: 7.984 kB / 1.032 GB, free: 6.227 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.5971, allocations: 38.5 kB / 1.032 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=23): time 1.432e-06/0.5971, allocations: 7.938 kB / 1.032 GB, free: 6.172 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.0008267/0.598, allocations: 379.3 kB / 1.032 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.598, allocations: 51.41 kB / 1.032 GB, free: 5.734 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004151/0.5984, allocations: 417.8 kB / 1.033 GB, free: 5.316 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.5984, allocations: 33.7 kB / 1.033 GB, free: 5.277 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.5986, allocations: 256.1 kB / 1.033 GB, free: 5.023 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.053e-05/0.5987, allocations: 74.86 kB / 1.033 GB, free: 4.949 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.351e-05/0.5987, allocations: 4 kB / 1.033 GB, free: 4.945 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.5988, allocations: 362.7 kB / 1.033 GB, free: 4.582 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002432/0.5991, allocations: 104.5 kB / 1.033 GB, free: 4.48 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002644/0.5993, allocations: 168.7 kB / 1.034 GB, free: 4.289 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002587/0.5996, allocations: 117.4 kB / 1.034 GB, free: 4.176 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5996, allocations: 4 kB / 1.034 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006289/0.6003, allocations: 349.4 kB / 1.034 GB, free: 3.824 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.6003, allocations: 8 kB / 1.034 GB, free: 3.816 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.6003, allocations: 0 / 1.034 GB, free: 3.816 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.6003, allocations: 4 kB / 1.034 GB, free: 3.812 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002826/0.6006, allocations: 71.89 kB / 1.034 GB, free: 3.742 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.6006, allocations: 3.938 kB / 1.034 GB, free: 3.738 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.6008, allocations: 36.08 kB / 1.034 GB, free: 3.703 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.6008, allocations: 8 kB / 1.034 GB, free: 3.695 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001755/0.601, allocations: 177.7 kB / 1.034 GB, free: 3.512 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.296e-05/0.6011, allocations: 43.44 kB / 1.034 GB, free: 3.469 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.252e-05/0.6012, allocations: 47.97 kB / 1.034 GB, free: 3.422 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.6012, allocations: 11.92 kB / 1.034 GB, free: 3.41 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.6012, allocations: 0 / 1.034 GB, free: 3.41 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.6012, allocations: 0 / 1.034 GB, free: 3.41 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004408/0.6017, allocations: 449.1 kB / 1.035 GB, free: 2.922 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.6017, allocations: 0 / 1.035 GB, free: 2.922 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002656/0.6019, allocations: 47.97 kB / 1.035 GB, free: 2.875 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.602, allocations: 0 / 1.035 GB, free: 2.875 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.51e-05/0.602, allocations: 7.984 kB / 1.035 GB, free: 2.867 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.602, allocations: 4 kB / 1.035 GB, free: 2.863 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.602, allocations: 0 / 1.035 GB, free: 2.863 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008567/0.6029, allocations: 0.5097 MB / 1.035 GB, free: 2.34 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.603, allocations: 148.4 kB / 1.036 GB, free: 2.176 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.343e-05/0.603, allocations: 4 kB / 1.036 GB, free: 2.172 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.6032, allocations: 15.98 kB / 1.036 GB, free: 2.156 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.274e-05/0.6033, allocations: 15.97 kB / 1.036 GB, free: 2.141 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.6033, allocations: 8 kB / 1.036 GB, free: 2.133 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002834/0.6036, allocations: 287.2 kB / 1.036 GB, free: 1.855 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6036, allocations: 0 / 1.036 GB, free: 1.855 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003215/0.6039, allocations: 75.69 kB / 1.036 GB, free: 1.781 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001002/0.604, allocations: 108.4 kB / 1.036 GB, free: 1.664 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005483/0.6046, allocations: 256.8 kB / 1.036 GB, free: 1.414 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6046, allocations: 0 / 1.036 GB, free: 1.414 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002589/0.6049, allocations: 128.4 kB / 1.036 GB, free: 1.289 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006203/0.6055, allocations: 107 kB / 1.037 GB, free: 1.188 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.6067, allocations: 0.8672 MB / 1.037 GB, free: 300 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.607, allocations: 0.8233 MB / 1.038 GB, free: 15.45 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002004/0.6073, allocations: 47.27 kB / 1.038 GB, free: 15.4 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.112e-05/0.6073, allocations: 35.36 kB / 1.038 GB, free: 15.37 MB / 0.795 GB Notification: Performance of SimCode: time 2.71e-07/0.6073, allocations: 0 / 1.038 GB, free: 15.37 MB / 0.795 GB Notification: Performance of Templates: time 0.006958/0.6143, allocations: 3.439 MB / 1.042 GB, free: 11.99 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