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.001513/0.001513, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002054/0.002053, allocations: 194.3 kB / 16.14 MB, free: 6.652 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.472/1.472, allocations: 222.9 MB / 239.8 MB, free: 4.559 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.323/2.323, allocations: 390.2 MB / 0.6642 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 63.89 kB / 0.8119 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7717/0.773, allocations: 140.4 MB / 0.9489 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004883/0.7779, allocations: 3.14 MB / 0.952 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00238/0.7803, allocations: 1.054 MB / 0.953 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000724/0.7811, allocations: 23.88 kB / 0.9531 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003856/0.7815, allocations: 68.97 kB / 0.9531 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004784/0.782, allocations: 85.58 kB / 0.9532 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008586/0.7829, allocations: 310.8 kB / 0.9535 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008215/0.7837, allocations: 0.5782 MB / 0.9541 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000424/0.7841, allocations: 243.6 kB / 0.9543 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003594/0.7845, allocations: 182.2 kB / 0.9545 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003181/0.7848, allocations: 186.9 kB / 0.9547 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.172e-05/0.7849, allocations: 23.91 kB / 0.9547 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.451e-05/0.785, allocations: 20.31 kB / 0.9547 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.264e-05/0.7851, allocations: 75.14 kB / 0.9548 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001919/0.7853, allocations: 209.3 kB / 0.955 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005116/0.7858, allocations: 0.6344 MB / 0.9556 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.7858, allocations: 0.9688 kB / 0.9556 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.253e-06/0.7858, allocations: 3.938 kB / 0.9556 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.193e-05/0.7858, allocations: 0 / 0.9556 GB, free: 3.918 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.00145/0.7873, allocations: 0.8196 MB / 0.9564 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.7873, allocations: 13.09 kB / 0.9564 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.7875, allocations: 59.91 kB / 0.9565 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007128/0.7882, allocations: 0.5011 MB / 0.9569 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.7882, allocations: 21.12 kB / 0.957 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.741e-05/0.7883, allocations: 27.75 kB / 0.957 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006054/0.7889, allocations: 381.4 kB / 0.9574 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.7889, allocations: 0 / 0.9574 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.207e-05/0.789, allocations: 12 kB / 0.9574 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.789, allocations: 6.344 kB / 0.9574 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005575/0.7895, allocations: 250.5 kB / 0.9576 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001462/0.791, allocations: 1.439 MB / 0.959 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006542/0.7917, allocations: 261.2 kB / 0.9593 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002788/0.792, allocations: 145 kB / 0.9594 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.206e-05/0.792, allocations: 6.203 kB / 0.9594 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.568e-05/0.792, allocations: 35.69 kB / 0.9594 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=23): time 1.443e-06/0.792, allocations: 1.062 kB / 0.9594 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23): time 0.000866/0.7929, allocations: 363.5 kB / 0.9598 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.7929, allocations: 61.67 kB / 0.9599 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004543/0.7934, allocations: 411.8 kB / 0.9602 GB, free: 252 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.7934, allocations: 30.8 kB / 0.9603 GB, free: 216 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.7936, allocations: 258.4 kB / 0.9605 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.781e-05/0.7937, allocations: 80.11 kB / 0.9606 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.7938, allocations: 53.64 kB / 0.9607 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.7939, allocations: 360.7 kB / 0.961 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000263/0.7942, allocations: 96.34 kB / 0.9611 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002977/0.7945, allocations: 159.1 kB / 0.9612 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005346/0.7951, allocations: 274 kB / 0.9615 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.7951, allocations: 5.156 kB / 0.9615 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007158/0.7958, allocations: 339 kB / 0.9618 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.7958, allocations: 6.531 kB / 0.9618 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.7958, allocations: 2.188 kB / 0.9618 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.7958, allocations: 3.281 kB / 0.9618 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002883/0.7961, allocations: 70.83 kB / 0.9619 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.7962, allocations: 2.5 kB / 0.9619 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.7964, allocations: 39.36 kB / 0.9619 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.7964, allocations: 8.312 kB / 0.962 GB, free: 14.92 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.0002051/0.7966, allocations: 178.4 kB / 0.9621 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.06e-05/0.7967, allocations: 43.41 kB / 0.9622 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.7968, allocations: 53.06 kB / 0.9622 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.7969, allocations: 2.25 kB / 0.9622 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.7969, allocations: 0 / 0.9622 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.7969, allocations: 3.938 kB / 0.9622 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004983/0.7974, allocations: 433 kB / 0.9626 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.7974, allocations: 1.125 kB / 0.9626 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002666/0.7977, allocations: 49.94 kB / 0.9627 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.7977, allocations: 1.344 kB / 0.9627 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.7977, allocations: 6.406 kB / 0.9627 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.7977, allocations: 1.188 kB / 0.9627 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.7977, allocations: 0 / 0.9627 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009684/0.7987, allocations: 0.4999 MB / 0.9632 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001566/0.7989, allocations: 138 kB / 0.9633 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.286e-05/0.7989, allocations: 6.688 kB / 0.9633 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.7991, allocations: 13.05 kB / 0.9633 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.12e-05/0.7992, allocations: 15.97 kB / 0.9633 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.7992, allocations: 15.75 kB / 0.9634 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003532/0.7996, allocations: 294.9 kB / 0.9636 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7996, allocations: 1.125 kB / 0.9636 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003555/0.8, allocations: 71.06 kB / 0.9637 GB, free: 13.6 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.000126/0.8001, allocations: 100.7 kB / 0.9638 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006137/0.8007, allocations: 246.4 kB / 0.964 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.8007, allocations: 0 / 0.964 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002785/0.801, allocations: 119.6 kB / 0.9642 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007551/0.8018, allocations: 118.2 kB / 0.9643 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.8034, allocations: 0.893 MB / 0.9651 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004187/0.8038, allocations: 0.8255 MB / 0.9659 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002473/0.804, allocations: 42.77 kB / 0.966 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.651e-05/0.8042, allocations: 33.42 kB / 0.966 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of SimCode: time 7.01e-07/0.8042, allocations: 4 kB / 0.966 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of Templates: time 0.009229/0.8134, allocations: 3.581 MB / 0.9695 GB, free: 10.11 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