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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001834/0.001834, allocations: 105.3 kB / 15.98 MB, free: 6.352 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.001623/0.001623, allocations: 193 kB / 16.91 MB, free: 6.184 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.532/1.532, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.964/2.964, allocations: 482.4 MB / 0.755 GB, free: 7.203 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 64.16 kB / 0.924 GB, free: 332 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.116/1.118, allocations: 162.2 MB / 1.082 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004772/1.122, allocations: 3.136 MB / 1.085 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00209/1.125, allocations: 1.077 MB / 1.087 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002674/1.125, allocations: 20.53 kB / 1.087 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000275/1.125, allocations: 67.31 kB / 1.087 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002412/1.125, allocations: 86.17 kB / 1.087 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000742/1.126, allocations: 308.5 kB / 1.087 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0007484/1.127, allocations: 0.6303 MB / 1.088 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004468/1.127, allocations: 249.8 kB / 1.088 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003032/1.128, allocations: 226 kB / 1.088 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002886/1.128, allocations: 201.9 kB / 1.088 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.793e-05/1.128, allocations: 52.91 kB / 1.088 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.598e-05/1.128, allocations: 53.34 kB / 1.088 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001207/1.128, allocations: 119.5 kB / 1.088 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002324/1.128, allocations: 232.2 kB / 1.089 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0007265/1.129, allocations: 0.5494 MB / 1.089 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/1.129, allocations: 5.25 kB / 1.089 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.625e-06/1.129, allocations: 0 / 1.089 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.716e-06/1.129, allocations: 0 / 1.089 GB, free: 13.14 MB / 0.8419 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.001428/1.131, allocations: 0.8166 MB / 1.09 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/1.131, allocations: 8.781 kB / 1.09 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/1.131, allocations: 64.84 kB / 1.09 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008655/1.132, allocations: 0.4953 MB / 1.091 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.175e-05/1.132, allocations: 21.44 kB / 1.091 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.977e-05/1.132, allocations: 30.84 kB / 1.091 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007736/1.133, allocations: 371.3 kB / 1.091 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/1.133, allocations: 1.859 kB / 1.091 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.802e-05/1.133, allocations: 19.28 kB / 1.091 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/1.133, allocations: 6.531 kB / 1.091 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006381/1.133, allocations: 253.9 kB / 1.091 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001956/1.135, allocations: 1.435 MB / 1.093 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007424/1.136, allocations: 265.5 kB / 1.093 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003226/1.136, allocations: 139 kB / 1.093 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.758e-05/1.136, allocations: 6.922 kB / 1.093 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/1.137, allocations: 36.53 kB / 1.093 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=23): time 1.332e-06/1.137, allocations: 0 / 1.093 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23): time 0.0009926/1.138, allocations: 364.6 kB / 1.093 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/1.138, allocations: 58.16 kB / 1.094 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005685/1.138, allocations: 409.1 kB / 1.094 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.596e-05/1.138, allocations: 31.61 kB / 1.094 GB, free: 10 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002563/1.138, allocations: 262.5 kB / 1.094 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.116e-05/1.139, allocations: 78.66 kB / 1.094 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/1.139, allocations: 56.33 kB / 1.094 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002045/1.139, allocations: 358.2 kB / 1.095 GB, free: 9.352 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002678/1.139, allocations: 94.75 kB / 1.095 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003268/1.14, allocations: 160.6 kB / 1.095 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006034/1.14, allocations: 276.4 kB / 1.095 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/1.14, allocations: 1.25 kB / 1.095 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008178/1.141, allocations: 344.1 kB / 1.095 GB, free: 8.887 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/1.141, allocations: 6.062 kB / 1.095 GB, free: 8.887 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/1.141, allocations: 2.5 kB / 1.095 GB, free: 8.887 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/1.141, allocations: 3.094 kB / 1.095 GB, free: 8.887 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000299/1.141, allocations: 60.91 kB / 1.096 GB, free: 8.883 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.602e-05/1.141, allocations: 8.094 kB / 1.096 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002145/1.142, allocations: 42.62 kB / 1.096 GB, free: 8.852 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.959e-05/1.142, allocations: 18.92 kB / 1.096 GB, free: 8.844 MB / 0.8419 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.0002187/1.142, allocations: 174.4 kB / 1.096 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.88e-05/1.142, allocations: 44.22 kB / 1.096 GB, free: 8.664 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/1.142, allocations: 46.48 kB / 1.096 GB, free: 8.637 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/1.142, allocations: 1.656 kB / 1.096 GB, free: 8.637 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.142, allocations: 5.25 kB / 1.096 GB, free: 8.633 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/1.142, allocations: 5.578 kB / 1.096 GB, free: 8.629 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006222/1.143, allocations: 434.6 kB / 1.096 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/1.143, allocations: 0 / 1.096 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002796/1.143, allocations: 48.94 kB / 1.096 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/1.143, allocations: 1.062 kB / 1.096 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.612e-05/1.143, allocations: 6.938 kB / 1.096 GB, free: 8.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/1.143, allocations: 0.9375 kB / 1.096 GB, free: 8.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.143, allocations: 1.25 kB / 1.096 GB, free: 8.32 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/1.144, allocations: 0.4994 MB / 1.097 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/1.144, allocations: 141.8 kB / 1.097 GB, free: 7.898 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.901e-05/1.144, allocations: 5.75 kB / 1.097 GB, free: 7.895 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001916/1.145, allocations: 14.56 kB / 1.097 GB, free: 7.891 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.067e-05/1.145, allocations: 16.84 kB / 1.097 GB, free: 7.887 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/1.145, allocations: 9.594 kB / 1.097 GB, free: 7.883 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003703/1.145, allocations: 290.5 kB / 1.097 GB, free: 7.734 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.1e-07/1.145, allocations: 1.562 kB / 1.097 GB, free: 7.734 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003413/1.145, allocations: 67.5 kB / 1.097 GB, free: 7.715 MB / 0.8419 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.000143/1.145, allocations: 103.5 kB / 1.097 GB, free: 7.625 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006988/1.146, allocations: 253.5 kB / 1.098 GB, free: 7.539 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.146, allocations: 1.156 kB / 1.098 GB, free: 7.539 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002834/1.147, allocations: 121.5 kB / 1.098 GB, free: 7.5 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007629/1.147, allocations: 128.4 kB / 1.098 GB, free: 7.461 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/1.149, allocations: 0.9124 MB / 1.099 GB, free: 6.832 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005157/1.149, allocations: 0.8239 MB / 1.1 GB, free: 6.121 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/1.15, allocations: 35.05 kB / 1.1 GB, free: 6.113 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/1.15, allocations: 0 / 1.1 GB, free: 6.113 MB / 0.8419 GB Notification: Performance of Templates: time 0.01054/1.16, allocations: 5.327 MB / 1.105 GB, free: 5.504 MB / 0.8419 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=400 -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/jenkins1/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