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.001306/0.001306, allocations: 105 kB / 15.98 MB, free: 6.348 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.0009882/0.0009881, allocations: 198.3 kB / 16.91 MB, free: 6.188 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.426/1.426, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.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.307/2.307, allocations: 390.2 MB / 0.665 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 65.81 kB / 0.8127 GB, free: 33.27 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3505, allocations: 140.4 MB / 0.9498 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.007842/0.3584, allocations: 3.142 MB / 0.9529 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003257/0.3618, allocations: 1.067 MB / 0.9539 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000558/0.3624, allocations: 15.94 kB / 0.9539 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004319/0.3628, allocations: 71.38 kB / 0.954 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003918/0.3633, allocations: 75.39 kB / 0.9541 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.3644, allocations: 319 kB / 0.9544 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0009925/0.3654, allocations: 0.6364 MB / 0.955 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005758/0.366, allocations: 249.9 kB / 0.9552 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003849/0.3664, allocations: 227 kB / 0.9554 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004366/0.3669, allocations: 210.8 kB / 0.9556 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.367, allocations: 52 kB / 0.9557 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.915e-05/0.3671, allocations: 52 kB / 0.9557 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.3672, allocations: 107.6 kB / 0.9558 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003759/0.3676, allocations: 246.6 kB / 0.9561 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007749/0.3684, allocations: 0.5342 MB / 0.9566 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3684, allocations: 4 kB / 0.9566 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.226e-06/0.3684, allocations: 4 kB / 0.9566 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.539e-05/0.3684, allocations: 3.938 kB / 0.9566 GB, free: 2.207 MB / 0.7325 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.001824/0.3703, allocations: 0.8176 MB / 0.9574 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.902e-05/0.3703, allocations: 12.02 kB / 0.9574 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001772/0.3705, allocations: 60.28 kB / 0.9575 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/0.3718, allocations: 0.4983 MB / 0.958 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.93e-05/0.3719, allocations: 21.03 kB / 0.958 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.012e-05/0.372, allocations: 28.38 kB / 0.958 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.3731, allocations: 375.1 kB / 0.9584 GB, free: 288 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/0.3731, allocations: 7.938 kB / 0.9584 GB, free: 280 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.811e-05/0.3732, allocations: 8 kB / 0.9584 GB, free: 272 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.3732, allocations: 12 kB / 0.9584 GB, free: 260 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008195/0.374, allocations: 246.1 kB / 0.9586 GB, free: 16 kB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00244/0.3765, allocations: 1.44 MB / 0.96 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009709/0.3775, allocations: 270.9 kB / 0.9603 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000393/0.3779, allocations: 136.8 kB / 0.9604 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.821e-05/0.3779, allocations: 7.984 kB / 0.9604 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/0.378, allocations: 34.56 kB / 0.9605 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=23): time 2.134e-06/0.378, allocations: 3.938 kB / 0.9605 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23): time 0.001249/0.3792, allocations: 366.9 kB / 0.9608 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.311e-05/0.3793, allocations: 55.41 kB / 0.9609 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007117/0.38, allocations: 409.9 kB / 0.9613 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.887e-05/0.3801, allocations: 29.7 kB / 0.9613 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002871/0.3804, allocations: 260.1 kB / 0.9615 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.3805, allocations: 78.84 kB / 0.9616 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/0.3807, allocations: 61.88 kB / 0.9617 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002124/0.3809, allocations: 362.7 kB / 0.962 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003463/0.3813, allocations: 92.5 kB / 0.9621 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000393/0.3817, allocations: 160.7 kB / 0.9623 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000767/0.3824, allocations: 276.5 kB / 0.9625 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.3825, allocations: 4 kB / 0.9625 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009932/0.3835, allocations: 332.9 kB / 0.9628 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.3835, allocations: 4 kB / 0.9628 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.3835, allocations: 4 kB / 0.9629 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.3836, allocations: 4 kB / 0.9629 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003898/0.384, allocations: 63.89 kB / 0.9629 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/0.384, allocations: 4.25 kB / 0.9629 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003098/0.3843, allocations: 39.67 kB / 0.963 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.648e-05/0.3844, allocations: 11.94 kB / 0.963 GB, free: 11.36 MB / 0.7481 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.0002849/0.3847, allocations: 169.8 kB / 0.9631 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.3848, allocations: 43.44 kB / 0.9632 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00013/0.3849, allocations: 51.97 kB / 0.9632 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.3849, allocations: 4 kB / 0.9632 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.3849, allocations: 0 / 0.9632 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.385, allocations: 11.88 kB / 0.9632 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007305/0.3857, allocations: 437.2 kB / 0.9637 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.3857, allocations: 0 / 0.9637 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003654/0.3861, allocations: 47.91 kB / 0.9637 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.603e-06/0.3861, allocations: 0 / 0.9637 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.378e-05/0.3862, allocations: 8 kB / 0.9637 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.002e-06/0.3862, allocations: 4 kB / 0.9637 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.3862, allocations: 3.984 kB / 0.9637 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.3875, allocations: 0.4967 MB / 0.9642 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001873/0.3877, allocations: 132.6 kB / 0.9643 GB, free: 9.875 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.937e-05/0.3877, allocations: 8 kB / 0.9643 GB, free: 9.867 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002664/0.388, allocations: 15.98 kB / 0.9644 GB, free: 9.852 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.323e-05/0.3881, allocations: 23.97 kB / 0.9644 GB, free: 9.828 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.28e-05/0.3882, allocations: 7.938 kB / 0.9644 GB, free: 9.82 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000483/0.3887, allocations: 287.1 kB / 0.9647 GB, free: 9.543 MB / 0.7481 GB Notification: Performance of sort global known variables: time 6.72e-07/0.3887, allocations: 0 / 0.9647 GB, free: 9.543 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005436/0.3892, allocations: 67.75 kB / 0.9647 GB, free: 9.477 MB / 0.7481 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.0001729/0.3894, allocations: 105.6 kB / 0.9648 GB, free: 9.367 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008899/0.3903, allocations: 255.5 kB / 0.9651 GB, free: 9.117 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.3903, allocations: 0 / 0.9651 GB, free: 9.117 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003837/0.3907, allocations: 115.9 kB / 0.9652 GB, free: 9.004 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.3918, allocations: 130.6 kB / 0.9653 GB, free: 8.879 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/0.394, allocations: 0.9235 MB / 0.9662 GB, free: 7.918 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006972/0.3947, allocations: 0.8232 MB / 0.967 GB, free: 7.066 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.3949, allocations: 35.42 kB / 0.967 GB, free: 7.031 MB / 0.7481 GB Notification: Performance of SimCode: time 3.01e-07/0.3949, allocations: 0 / 0.967 GB, free: 7.031 MB / 0.7481 GB Notification: Performance of Templates: time 0.009415/0.4043, allocations: 5.327 MB / 0.9722 GB, free: 1.746 MB / 0.7481 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/jenkins1/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