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.001141/0.001141, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009875/0.009876, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.447/1.447, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.378/2.378, allocations: 390.9 MB / 0.6663 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003795/0.0003795, allocations: 12 kB / 0.816 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8121/0.8125, allocations: 142.4 MB / 0.9551 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.00342/0.816, allocations: 2.746 MB / 0.9577 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002395/0.8184, allocations: 1.053 MB / 0.9588 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007009/0.8191, allocations: 19.38 kB / 0.9588 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003398/0.8195, allocations: 64.94 kB / 0.9588 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004842/0.82, allocations: 84.98 kB / 0.9589 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009096/0.8209, allocations: 312.2 kB / 0.9592 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008274/0.8218, allocations: 0.5814 MB / 0.9598 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004648/0.8222, allocations: 244.1 kB / 0.96 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003421/0.8226, allocations: 150.9 kB / 0.9602 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003082/0.8229, allocations: 168.3 kB / 0.9603 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.479e-05/0.823, allocations: 9.688 kB / 0.9603 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.461e-05/0.8231, allocations: 10.94 kB / 0.9604 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.978e-05/0.8231, allocations: 59.73 kB / 0.9604 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001883/0.8233, allocations: 218.4 kB / 0.9606 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000509/0.8239, allocations: 0.6087 MB / 0.9612 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.8239, allocations: 1.375 kB / 0.9612 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.883e-06/0.8239, allocations: 0 / 0.9612 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.436e-05/0.8239, allocations: 0 / 0.9612 GB, free: 2.934 MB / 0.7169 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.001431/0.8253, allocations: 0.7452 MB / 0.9619 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.8254, allocations: 13.22 kB / 0.962 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002187/0.8256, allocations: 59.44 kB / 0.962 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009346/0.8266, allocations: 0.5035 MB / 0.9625 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.227e-05/0.8266, allocations: 20.44 kB / 0.9625 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.214e-05/0.8267, allocations: 27.53 kB / 0.9625 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007664/0.8275, allocations: 382.8 kB / 0.9629 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.8275, allocations: 1.094 kB / 0.9629 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.657e-05/0.8275, allocations: 11.88 kB / 0.9629 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.8276, allocations: 11.41 kB / 0.9629 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006612/0.8282, allocations: 264.8 kB / 0.9632 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001669/0.8299, allocations: 1.442 MB / 0.9646 GB, free: 108 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000748/0.8307, allocations: 276 kB / 0.9649 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003422/0.831, allocations: 146.9 kB / 0.965 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.509e-05/0.8311, allocations: 7.578 kB / 0.965 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.8311, allocations: 31.97 kB / 0.965 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=23): time 2.274e-06/0.8311, allocations: 0 / 0.965 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23): time 0.001029/0.8321, allocations: 386.7 kB / 0.9654 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/0.8322, allocations: 55.16 kB / 0.9655 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005554/0.8328, allocations: 408.7 kB / 0.9658 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.8328, allocations: 35.02 kB / 0.9659 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002283/0.8331, allocations: 262.2 kB / 0.9661 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.973e-05/0.8331, allocations: 72.05 kB / 0.9662 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.609e-05/0.8332, allocations: 31.14 kB / 0.9662 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.8334, allocations: 359.1 kB / 0.9666 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002785/0.8337, allocations: 98.77 kB / 0.9667 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000332/0.834, allocations: 172.2 kB / 0.9668 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006577/0.8347, allocations: 286.3 kB / 0.9671 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.8347, allocations: 0 / 0.9671 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009271/0.8356, allocations: 351.3 kB / 0.9674 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.8357, allocations: 9.531 kB / 0.9674 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.8357, allocations: 6.078 kB / 0.9675 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.8357, allocations: 3.781 kB / 0.9675 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002974/0.836, allocations: 61.56 kB / 0.9675 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.836, allocations: 3.344 kB / 0.9675 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002553/0.8363, allocations: 41.7 kB / 0.9676 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.252e-05/0.8363, allocations: 15.86 kB / 0.9676 GB, free: 14.01 MB / 0.7325 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.0002329/0.8366, allocations: 178.2 kB / 0.9677 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.836e-05/0.8367, allocations: 48.34 kB / 0.9678 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001094/0.8368, allocations: 47.75 kB / 0.9678 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.8368, allocations: 2.938 kB / 0.9678 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.866e-06/0.8368, allocations: 0 / 0.9678 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.8368, allocations: 3.938 kB / 0.9678 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005794/0.8374, allocations: 433.3 kB / 0.9683 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.8374, allocations: 0 / 0.9683 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002753/0.8377, allocations: 57.42 kB / 0.9683 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.8377, allocations: 1.938 kB / 0.9683 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.8377, allocations: 5.969 kB / 0.9683 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.8378, allocations: 1.156 kB / 0.9683 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.8378, allocations: 0 / 0.9683 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.8388, allocations: 0.5194 MB / 0.9688 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001791/0.839, allocations: 141.7 kB / 0.969 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.832e-05/0.8391, allocations: 10.16 kB / 0.969 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.8393, allocations: 13.05 kB / 0.969 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.289e-05/0.8394, allocations: 14.45 kB / 0.969 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.8394, allocations: 12.95 kB / 0.969 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003936/0.8398, allocations: 291.6 kB / 0.9693 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.8e-07/0.8398, allocations: 0 / 0.9693 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003746/0.8402, allocations: 63.97 kB / 0.9693 GB, free: 12.69 MB / 0.7325 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.0001295/0.8403, allocations: 110.2 kB / 0.9695 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006889/0.841, allocations: 254.7 kB / 0.9697 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.841, allocations: 0 / 0.9697 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003011/0.8413, allocations: 123.8 kB / 0.9698 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007798/0.8421, allocations: 125 kB / 0.9699 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.8438, allocations: 0.9093 MB / 0.9708 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004486/0.8443, allocations: 0.8258 MB / 0.9716 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002562/0.8445, allocations: 51.47 kB / 0.9717 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.553e-05/0.8446, allocations: 28.81 kB / 0.9717 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of SimCode: time 7.31e-07/0.8446, allocations: 0 / 0.9717 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of Templates: time 0.009945/0.8546, allocations: 3.554 MB / 0.9752 GB, free: 9.18 MB / 0.7325 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