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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008612/0.0008612, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001079/0.001079, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.643/1.643, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.753/2.753, allocations: 390.9 MB / 0.666 GB, free: 2.574 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003488/0.0003489, allocations: 8 kB / 0.8154 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.123/1.124, allocations: 142.4 MB / 0.9544 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.00478/1.128, allocations: 2.626 MB / 0.957 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002277/1.131, allocations: 1.022 MB / 0.958 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003464/1.131, allocations: 23.5 kB / 0.958 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002935/1.131, allocations: 57.02 kB / 0.9581 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002289/1.132, allocations: 73.17 kB / 0.9582 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007566/1.133, allocations: 242.3 kB / 0.9584 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006968/1.133, allocations: 0.5345 MB / 0.9589 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00041/1.134, allocations: 162.8 kB / 0.9591 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002945/1.134, allocations: 154.2 kB / 0.9592 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000254/1.134, allocations: 149.2 kB / 0.9594 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.753e-05/1.134, allocations: 10.5 kB / 0.9594 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.721e-05/1.134, allocations: 13.5 kB / 0.9594 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.725e-05/1.134, allocations: 55.83 kB / 0.9594 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001124/1.135, allocations: 111.4 kB / 0.9595 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005658/1.135, allocations: 0.5158 MB / 0.96 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/1.135, allocations: 0 / 0.96 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.877e-06/1.135, allocations: 0 / 0.96 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.114e-05/1.135, allocations: 0.9688 kB / 0.96 GB, free: 3.398 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.001505/1.137, allocations: 0.7498 MB / 0.9608 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.653e-05/1.137, allocations: 9.438 kB / 0.9608 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/1.137, allocations: 58.2 kB / 0.9608 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008482/1.138, allocations: 491 kB / 0.9613 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.801e-05/1.138, allocations: 19.66 kB / 0.9613 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.621e-05/1.138, allocations: 27.81 kB / 0.9614 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000854/1.139, allocations: 380.4 kB / 0.9617 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/1.139, allocations: 7.938 kB / 0.9617 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.947e-05/1.139, allocations: 19.05 kB / 0.9617 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.68e-05/1.139, allocations: 7.844 kB / 0.9617 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008631/1.14, allocations: 267.2 kB / 0.962 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001966/1.142, allocations: 1.43 MB / 0.9634 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008305/1.143, allocations: 269.2 kB / 0.9637 GB, free: 460 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003293/1.143, allocations: 146.6 kB / 0.9638 GB, free: 384 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.506e-05/1.143, allocations: 6.922 kB / 0.9638 GB, free: 380 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/1.143, allocations: 36.14 kB / 0.9638 GB, free: 336 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=23): time 1.423e-06/1.143, allocations: 0 / 0.9638 GB, free: 336 kB / 0.7169 GB Notification: Performance of matching and sorting (n=23): time 0.001085/1.144, allocations: 388.1 kB / 0.9642 GB, free: 132 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/1.144, allocations: 53.94 kB / 0.9643 GB, free: 68 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006368/1.145, allocations: 411.4 kB / 0.9646 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/1.145, allocations: 30.98 kB / 0.9647 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002585/1.145, allocations: 255 kB / 0.9649 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.503e-05/1.145, allocations: 84.56 kB / 0.965 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.597e-05/1.145, allocations: 5.281 kB / 0.965 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001862/1.145, allocations: 355.6 kB / 0.9653 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000269/1.146, allocations: 97.64 kB / 0.9654 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003429/1.146, allocations: 175.3 kB / 0.9656 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/1.146, allocations: 114.2 kB / 0.9657 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/1.146, allocations: 2.375 kB / 0.9657 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000753/1.147, allocations: 348.9 kB / 0.9661 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.068e-05/1.147, allocations: 6.219 kB / 0.9661 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/1.147, allocations: 6.484 kB / 0.9661 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/1.147, allocations: 3.156 kB / 0.9661 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003122/1.147, allocations: 69.3 kB / 0.9661 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.572e-05/1.148, allocations: 3.5 kB / 0.9661 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002168/1.148, allocations: 34.17 kB / 0.9662 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.21e-05/1.148, allocations: 12.98 kB / 0.9662 GB, free: 14.65 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002569/1.148, allocations: 177.9 kB / 0.9664 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.335e-05/1.148, allocations: 43.12 kB / 0.9664 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000117/1.148, allocations: 47.81 kB / 0.9664 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/1.148, allocations: 7.266 kB / 0.9664 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/1.148, allocations: 11.88 kB / 0.9665 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/1.148, allocations: 0 / 0.9665 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006077/1.149, allocations: 449.4 kB / 0.9669 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/1.149, allocations: 0 / 0.9669 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002723/1.149, allocations: 45.38 kB / 0.9669 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/1.149, allocations: 1.781 kB / 0.9669 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/1.149, allocations: 5 kB / 0.9669 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/1.149, allocations: 1.031 kB / 0.9669 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/1.149, allocations: 8.906 kB / 0.9669 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/1.15, allocations: 0.5148 MB / 0.9674 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000165/1.151, allocations: 142.9 kB / 0.9676 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.749e-05/1.151, allocations: 5 kB / 0.9676 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/1.151, allocations: 17.23 kB / 0.9676 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.912e-05/1.151, allocations: 18.77 kB / 0.9676 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/1.151, allocations: 12.41 kB / 0.9676 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004026/1.151, allocations: 283.8 kB / 0.9679 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/1.151, allocations: 0 / 0.9679 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004007/1.152, allocations: 69.09 kB / 0.968 GB, free: 13.32 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001763/1.152, allocations: 106.6 kB / 0.9681 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007001/1.153, allocations: 255.2 kB / 0.9683 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.153, allocations: 0.75 kB / 0.9683 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003067/1.153, allocations: 127.1 kB / 0.9684 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008017/1.154, allocations: 102.2 kB / 0.9685 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/1.155, allocations: 0.8693 MB / 0.9694 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005446/1.156, allocations: 0.8174 MB / 0.9702 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002446/1.156, allocations: 56.22 kB / 0.9702 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/1.156, allocations: 32.23 kB / 0.9703 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of SimCode: time 5.51e-07/1.156, allocations: 11.81 kB / 0.9703 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of Templates: time 0.01005/1.166, allocations: 3.426 MB / 0.9736 GB, free: 9.914 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