Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00786/0.00786, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.00176/0.00176, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.351/2.351, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 61.33 kB / 0.9508 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2802, allocations: 140.4 MB / 1.088 GB, free: 1.539 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004088/0.2843, allocations: 3.113 MB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001867/0.2862, allocations: 1.087 MB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002452/0.2865, allocations: 19.88 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002632/0.2868, allocations: 95.06 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002136/0.287, allocations: 103 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006697/0.2877, allocations: 336.1 kB / 1.093 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005433/0.2882, allocations: 0.6441 MB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003489/0.2886, allocations: 249.8 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002489/0.2888, allocations: 235 kB / 1.094 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002177/0.2891, allocations: 206.9 kB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.415e-05/0.2891, allocations: 59.94 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.089e-05/0.2892, allocations: 52 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.548e-05/0.2893, allocations: 107.6 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000171/0.2895, allocations: 242.6 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005735/0.2901, allocations: 0.6811 MB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.2901, allocations: 0 / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2901, allocations: 4 kB / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.477e-06/0.2901, allocations: 0 / 1.095 GB, free: 10.31 MB / 0.8575 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.001247/0.2914, allocations: 0.8176 MB / 1.096 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.2914, allocations: 8.031 kB / 1.096 GB, free: 9.434 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.423e-05/0.2915, allocations: 56.28 kB / 1.096 GB, free: 9.379 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008654/0.2924, allocations: 0.5216 MB / 1.096 GB, free: 8.816 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.2924, allocations: 21.03 kB / 1.096 GB, free: 8.797 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.625e-05/0.2925, allocations: 24.38 kB / 1.096 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000643/0.2931, allocations: 383.1 kB / 1.097 GB, free: 8.367 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.2932, allocations: 3.938 kB / 1.097 GB, free: 8.363 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.71e-05/0.2932, allocations: 19.94 kB / 1.097 GB, free: 8.344 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.2932, allocations: 8 kB / 1.097 GB, free: 8.336 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006097/0.2938, allocations: 250 kB / 1.097 GB, free: 8.094 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001735/0.2956, allocations: 1.421 MB / 1.098 GB, free: 6.598 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007293/0.2963, allocations: 276.3 kB / 1.099 GB, free: 6.32 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002808/0.2966, allocations: 137.7 kB / 1.099 GB, free: 6.184 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.334e-05/0.2967, allocations: 4 kB / 1.099 GB, free: 6.18 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.2967, allocations: 34.56 kB / 1.099 GB, free: 6.137 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=23): time 2.314e-06/0.2967, allocations: 0 / 1.099 GB, free: 6.137 MB / 0.8575 GB Notification: Performance of matching and sorting (n=23): time 0.0008991/0.2976, allocations: 366.4 kB / 1.099 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.2977, allocations: 55.41 kB / 1.099 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004816/0.2982, allocations: 406 kB / 1.1 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.2982, allocations: 29.7 kB / 1.1 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.2984, allocations: 260.1 kB / 1.1 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.272e-05/0.2985, allocations: 78.84 kB / 1.1 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.764e-05/0.2986, allocations: 65.88 kB / 1.1 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.2987, allocations: 354.7 kB / 1.1 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002373/0.299, allocations: 96.5 kB / 1.1 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002743/0.2992, allocations: 156.8 kB / 1.101 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004918/0.2997, allocations: 272 kB / 1.101 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.2998, allocations: 4 kB / 1.101 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000625/0.3004, allocations: 341.9 kB / 1.101 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3004, allocations: 4 kB / 1.101 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.3004, allocations: 4 kB / 1.101 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.3005, allocations: 4 kB / 1.101 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002884/0.3008, allocations: 68.14 kB / 1.101 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/0.3008, allocations: 11.92 kB / 1.101 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/0.301, allocations: 31.77 kB / 1.101 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.48e-05/0.301, allocations: 8 kB / 1.101 GB, free: 3.461 MB / 0.8575 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.0002002/0.3012, allocations: 173.1 kB / 1.101 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.203e-05/0.3013, allocations: 43.44 kB / 1.102 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.3014, allocations: 47.97 kB / 1.102 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.3014, allocations: 4 kB / 1.102 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.3014, allocations: 7.938 kB / 1.102 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.3015, allocations: 3.938 kB / 1.102 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005552/0.302, allocations: 441.2 kB / 1.102 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.302, allocations: 4 kB / 1.102 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002731/0.3023, allocations: 43.97 kB / 1.102 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3023, allocations: 3.938 kB / 1.102 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.505e-05/0.3023, allocations: 8 kB / 1.102 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.3024, allocations: 7.922 kB / 1.102 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3024, allocations: 0 / 1.102 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008982/0.3033, allocations: 0.4926 MB / 1.103 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.3034, allocations: 140.5 kB / 1.103 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.289e-05/0.3035, allocations: 8 kB / 1.103 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.3037, allocations: 16.05 kB / 1.103 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.057e-05/0.3037, allocations: 15.97 kB / 1.103 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.3038, allocations: 11.94 kB / 1.103 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003121/0.3041, allocations: 287.1 kB / 1.103 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3041, allocations: 0 / 1.103 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003438/0.3044, allocations: 67.78 kB / 1.103 GB, free: 1.57 MB / 0.8575 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.0001739/0.3046, allocations: 107.2 kB / 1.103 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006409/0.3053, allocations: 247.6 kB / 1.103 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3053, allocations: 0 / 1.103 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002494/0.3055, allocations: 118.2 kB / 1.104 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006994/0.3062, allocations: 126.7 kB / 1.104 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.3076, allocations: 0.7225 MB / 1.104 GB, free: 236 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.3081, allocations: 0.8194 MB / 1.105 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001922/0.3083, allocations: 47.27 kB / 1.105 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.544e-05/0.3084, allocations: 27.44 kB / 1.105 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of SimCode: time 1.012e-06/0.3084, allocations: 0 / 1.105 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of Templates: time 0.008791/0.3172, allocations: 3.943 MB / 1.109 GB, free: 11.44 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile (rm -f Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & ./Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches