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.001459/0.001459, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001614/0.001615, allocations: 193.2 kB / 16.25 MB, free: 6.621 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.456/1.456, allocations: 222.9 MB / 239.9 MB, free: 4.547 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.771/2.771, allocations: 437 MB / 0.7101 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 67.89 kB / 0.8688 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6763/0.6783, allocations: 151.6 MB / 1.017 GB, free: 2.691 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004575/0.6829, allocations: 3.131 MB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001998/0.685, allocations: 1.06 MB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002663/0.6852, allocations: 19.88 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000255/0.6855, allocations: 71.38 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002207/0.6858, allocations: 79.38 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00068/0.6864, allocations: 323.2 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006419/0.6871, allocations: 0.6402 MB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003911/0.6875, allocations: 245.9 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002699/0.6878, allocations: 230.9 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000226/0.688, allocations: 206.8 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.002e-05/0.6881, allocations: 52 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.37e-05/0.6882, allocations: 52 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.07e-05/0.6883, allocations: 107.6 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001928/0.6885, allocations: 242.6 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000629/0.6891, allocations: 0.6637 MB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.6891, allocations: 0 / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.046e-06/0.6891, allocations: 0 / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.375e-05/0.6891, allocations: 4 kB / 1.024 GB, free: 11.57 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.001295/0.6904, allocations: 0.8176 MB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.6905, allocations: 8.031 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.6906, allocations: 56.28 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00078/0.6914, allocations: 0.5021 MB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.6914, allocations: 29.03 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.387e-05/0.6915, allocations: 32.31 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006849/0.6922, allocations: 371.1 kB / 1.026 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.6922, allocations: 0 / 1.026 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.348e-05/0.6922, allocations: 12 kB / 1.026 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.6922, allocations: 8 kB / 1.026 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005934/0.6928, allocations: 250 kB / 1.026 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001655/0.6945, allocations: 1.444 MB / 1.027 GB, free: 7.859 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006768/0.6952, allocations: 268.8 kB / 1.027 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002825/0.6955, allocations: 134.2 kB / 1.028 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/0.6955, allocations: 8 kB / 1.028 GB, free: 7.449 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.6956, allocations: 30.56 kB / 1.028 GB, free: 7.41 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=23): time 3.085e-06/0.6956, allocations: 0 / 1.028 GB, free: 7.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.0008767/0.6965, allocations: 374.3 kB / 1.028 GB, free: 7.039 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.6965, allocations: 55.41 kB / 1.028 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000468/0.697, allocations: 413.9 kB / 1.028 GB, free: 6.559 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.697, allocations: 29.7 kB / 1.028 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002036/0.6972, allocations: 264.1 kB / 1.029 GB, free: 6.262 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.648e-05/0.6973, allocations: 78.89 kB / 1.029 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.732e-05/0.6974, allocations: 57.89 kB / 1.029 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.6976, allocations: 354.7 kB / 1.029 GB, free: 5.762 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002467/0.6978, allocations: 92.52 kB / 1.029 GB, free: 5.672 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002933/0.6981, allocations: 172.7 kB / 1.029 GB, free: 5.477 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005258/0.6987, allocations: 269.2 kB / 1.03 GB, free: 5.188 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6987, allocations: 0 / 1.03 GB, free: 5.188 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006625/0.6993, allocations: 344.8 kB / 1.03 GB, free: 4.848 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.6994, allocations: 4 kB / 1.03 GB, free: 4.844 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.6994, allocations: 4 kB / 1.03 GB, free: 4.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.6994, allocations: 4.25 kB / 1.03 GB, free: 4.836 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002848/0.6997, allocations: 67.89 kB / 1.03 GB, free: 4.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.6997, allocations: 4 kB / 1.03 GB, free: 4.766 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.6999, allocations: 39.61 kB / 1.03 GB, free: 4.727 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/0.7, allocations: 15.98 kB / 1.03 GB, free: 4.711 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.0002013/0.7002, allocations: 173.7 kB / 1.03 GB, free: 4.531 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.924e-05/0.7002, allocations: 43.44 kB / 1.03 GB, free: 4.488 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.543e-05/0.7004, allocations: 47.98 kB / 1.03 GB, free: 4.445 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.7004, allocations: 4 kB / 1.03 GB, free: 4.441 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.7004, allocations: 0 / 1.03 GB, free: 4.441 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.7004, allocations: 7.922 kB / 1.03 GB, free: 4.434 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004995/0.7009, allocations: 433.2 kB / 1.031 GB, free: 3.961 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.7009, allocations: 0 / 1.031 GB, free: 3.961 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002698/0.7012, allocations: 51.89 kB / 1.031 GB, free: 3.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.7012, allocations: 0 / 1.031 GB, free: 3.91 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/0.7012, allocations: 4 kB / 1.031 GB, free: 3.906 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.7012, allocations: 8 kB / 1.031 GB, free: 3.898 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.7012, allocations: 0 / 1.031 GB, free: 3.898 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009143/0.7022, allocations: 0.4952 MB / 1.031 GB, free: 3.387 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.7023, allocations: 140.6 kB / 1.031 GB, free: 3.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.161e-05/0.7024, allocations: 4 kB / 1.031 GB, free: 3.227 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.7026, allocations: 19.92 kB / 1.032 GB, free: 3.207 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.197e-05/0.7026, allocations: 11.98 kB / 1.032 GB, free: 3.195 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.7027, allocations: 19.86 kB / 1.032 GB, free: 3.176 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003125/0.703, allocations: 283.2 kB / 1.032 GB, free: 2.898 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.703, allocations: 0 / 1.032 GB, free: 2.898 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003201/0.7033, allocations: 67.75 kB / 1.032 GB, free: 2.832 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.0001296/0.7034, allocations: 111.8 kB / 1.032 GB, free: 2.711 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006347/0.7041, allocations: 249.7 kB / 1.032 GB, free: 2.469 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.7041, allocations: 0.5 kB / 1.032 GB, free: 2.469 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000258/0.7044, allocations: 115.9 kB / 1.032 GB, free: 2.355 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007792/0.7051, allocations: 138.1 kB / 1.032 GB, free: 2.234 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.7066, allocations: 0.903 MB / 1.033 GB, free: 1.301 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004387/0.707, allocations: 0.8155 MB / 1.034 GB, free: 472 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000207/0.7072, allocations: 51.25 kB / 1.034 GB, free: 424 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.863e-05/0.7073, allocations: 31.42 kB / 1.034 GB, free: 392 kB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.7073, allocations: 0 / 1.034 GB, free: 392 kB / 0.7794 GB Notification: Performance of Templates: time 0.008146/0.7155, allocations: 3.711 MB / 1.038 GB, free: 12.74 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=400 -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