Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.009214/0.009213, allocations: 100.5 kB / 15.73 MB, free: 6.031 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.002067/0.002067, allocations: 186.6 kB / 16.67 MB, free: 5.965 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.8/2.8, allocations: 461.9 MB / 0.7348 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 59.91 kB / 1.054 GB, free: 7.234 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3694, allocations: 157.4 MB / 1.208 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004522/0.3739, allocations: 3.096 MB / 1.211 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002168/0.3761, allocations: 1.103 MB / 1.212 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000451/0.3766, allocations: 15.94 kB / 1.212 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003145/0.3769, allocations: 91.06 kB / 1.212 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00037/0.3773, allocations: 103 kB / 1.212 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008396/0.3782, allocations: 340.3 kB / 1.212 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007514/0.3789, allocations: 0.6442 MB / 1.213 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004372/0.3794, allocations: 249.8 kB / 1.213 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003536/0.3798, allocations: 230.9 kB / 1.213 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003033/0.3801, allocations: 206.8 kB / 1.214 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.3802, allocations: 52 kB / 1.214 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.23e-05/0.3803, allocations: 52 kB / 1.214 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.671e-05/0.3804, allocations: 111.6 kB / 1.214 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002295/0.3806, allocations: 246.5 kB / 1.214 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006351/0.3813, allocations: 0.6811 MB / 1.215 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.3813, allocations: 8 kB / 1.215 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3813, allocations: 0 / 1.215 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.328e-05/0.3813, allocations: 0 / 1.215 GB, free: 2.488 MB / 0.9669 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.001538/0.3828, allocations: 0.8137 MB / 1.216 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.3829, allocations: 8.625 kB / 1.216 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/0.383, allocations: 64.17 kB / 1.216 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009472/0.384, allocations: 0.5061 MB / 1.216 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.384, allocations: 25.03 kB / 1.216 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.99e-05/0.3841, allocations: 28.38 kB / 1.216 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006786/0.3848, allocations: 379.1 kB / 1.217 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.3848, allocations: 3.984 kB / 1.217 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.3848, allocations: 12 kB / 1.217 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.3849, allocations: 8 kB / 1.217 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006045/0.3855, allocations: 254 kB / 1.217 GB, free: 284 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001597/0.3871, allocations: 1.421 MB / 1.218 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006781/0.3878, allocations: 274.8 kB / 1.218 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000277/0.3881, allocations: 136.8 kB / 1.219 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.556e-05/0.3881, allocations: 4 kB / 1.219 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.3881, allocations: 38.5 kB / 1.219 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=23): time 1.814e-06/0.3881, allocations: 0 / 1.219 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23): time 0.0008776/0.389, allocations: 369.4 kB / 1.219 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.3891, allocations: 55.41 kB / 1.219 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004474/0.3895, allocations: 406 kB / 1.219 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.3895, allocations: 29.7 kB / 1.219 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/0.3897, allocations: 264 kB / 1.22 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.157e-05/0.3898, allocations: 78.77 kB / 1.22 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.299e-05/0.3899, allocations: 57.97 kB / 1.22 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.3901, allocations: 358.7 kB / 1.22 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002473/0.3903, allocations: 96.5 kB / 1.22 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002657/0.3906, allocations: 164.7 kB / 1.22 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005332/0.3911, allocations: 259.6 kB / 1.221 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3911, allocations: 7.938 kB / 1.221 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000653/0.3918, allocations: 341.4 kB / 1.221 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.3918, allocations: 4 kB / 1.221 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.3918, allocations: 4 kB / 1.221 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.3919, allocations: 4 kB / 1.221 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002747/0.3921, allocations: 63.89 kB / 1.221 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.3922, allocations: 4 kB / 1.221 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.3924, allocations: 39.92 kB / 1.221 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.252e-05/0.3924, allocations: 8 kB / 1.221 GB, free: 11.64 MB / 0.9825 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.0001801/0.3926, allocations: 170.4 kB / 1.221 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.72e-05/0.3927, allocations: 43.52 kB / 1.221 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.984e-05/0.3928, allocations: 43.98 kB / 1.221 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.3928, allocations: 4 kB / 1.221 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.3928, allocations: 0 / 1.221 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.3928, allocations: 7.938 kB / 1.221 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004485/0.3932, allocations: 445.2 kB / 1.222 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.3933, allocations: 0 / 1.222 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/0.3935, allocations: 47.91 kB / 1.222 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.696e-06/0.3935, allocations: 0 / 1.222 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.047e-05/0.3936, allocations: 11.98 kB / 1.222 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.3936, allocations: 0 / 1.222 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3936, allocations: 0 / 1.222 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008913/0.3945, allocations: 0.5003 MB / 1.222 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.3946, allocations: 144.4 kB / 1.222 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.747e-05/0.3947, allocations: 8 kB / 1.222 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001895/0.3949, allocations: 11.98 kB / 1.222 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.47e-05/0.395, allocations: 20.03 kB / 1.223 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.395, allocations: 11.94 kB / 1.223 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002938/0.3953, allocations: 291.1 kB / 1.223 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3953, allocations: 0 / 1.223 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003371/0.3956, allocations: 67.75 kB / 1.223 GB, free: 9.75 MB / 0.9825 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.0001211/0.3958, allocations: 104.7 kB / 1.223 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005753/0.3963, allocations: 250.5 kB / 1.223 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3963, allocations: 0 / 1.223 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002553/0.3966, allocations: 115.9 kB / 1.223 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006444/0.3973, allocations: 142 kB / 1.223 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.3986, allocations: 0.7237 MB / 1.224 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.3989, allocations: 0.8194 MB / 1.225 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001898/0.3991, allocations: 47.27 kB / 1.225 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.765e-05/0.3992, allocations: 31.44 kB / 1.225 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of SimCode: time 5.41e-07/0.3992, allocations: 0 / 1.225 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of Templates: time 0.00853/0.4078, allocations: 3.846 MB / 1.229 GB, free: 3.727 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile (rm -f Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & ./Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches