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.001222/0.001222, allocations: 113.1 kB / 16.37 MB, free: 6.012 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.001098/0.001098, allocations: 191.2 kB / 17.31 MB, free: 5.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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.148/2.148, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 61.69 kB / 0.814 GB, free: 32.59 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2688, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004195/0.2731, allocations: 3.121 MB / 0.9542 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001767/0.2749, allocations: 1.103 MB / 0.9553 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002305/0.2751, allocations: 15.94 kB / 0.9553 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002507/0.2754, allocations: 91.06 kB / 0.9554 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001958/0.2756, allocations: 103 kB / 0.9555 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006419/0.2762, allocations: 339.3 kB / 0.9558 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005394/0.2768, allocations: 0.6286 MB / 0.9564 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000345/0.2771, allocations: 249.9 kB / 0.9566 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002224/0.2774, allocations: 227 kB / 0.9569 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000209/0.2776, allocations: 206.8 kB / 0.9571 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.207e-05/0.2776, allocations: 52 kB / 0.9571 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.604e-05/0.2777, allocations: 52 kB / 0.9572 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.561e-05/0.2778, allocations: 115.5 kB / 0.9573 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.278, allocations: 238.6 kB / 0.9575 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005318/0.2785, allocations: 0.685 MB / 0.9582 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2785, allocations: 0 / 0.9582 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2785, allocations: 0 / 0.9582 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.2785, allocations: 4 kB / 0.9582 GB, free: 0.8398 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.001187/0.2797, allocations: 0.8216 MB / 0.959 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.2798, allocations: 8.031 kB / 0.959 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.475e-05/0.2799, allocations: 56.28 kB / 0.959 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008445/0.2807, allocations: 0.5178 MB / 0.9595 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.2807, allocations: 25.03 kB / 0.9596 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.632e-05/0.2808, allocations: 24.38 kB / 0.9596 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005734/0.2814, allocations: 375.1 kB / 0.9599 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.2814, allocations: 3.938 kB / 0.9599 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/0.2814, allocations: 12 kB / 0.96 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.2814, allocations: 8 kB / 0.96 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005341/0.282, allocations: 250 kB / 0.9602 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/0.2834, allocations: 1.428 MB / 0.9616 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006581/0.2841, allocations: 264.8 kB / 0.9618 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002802/0.2844, allocations: 136.8 kB / 0.962 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.262e-05/0.2844, allocations: 11.88 kB / 0.962 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.2845, allocations: 30.56 kB / 0.962 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=23): time 1.563e-06/0.2845, allocations: 4 kB / 0.962 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23): time 0.00081/0.2853, allocations: 371.3 kB / 0.9624 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.2853, allocations: 55.41 kB / 0.9624 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004189/0.2858, allocations: 417.9 kB / 0.9628 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.2858, allocations: 29.7 kB / 0.9629 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.286, allocations: 260.1 kB / 0.9631 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.897e-05/0.286, allocations: 82.83 kB / 0.9632 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.045e-05/0.2861, allocations: 57.89 kB / 0.9632 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.2863, allocations: 358.7 kB / 0.9636 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002284/0.2865, allocations: 88.52 kB / 0.9637 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002631/0.2868, allocations: 168.8 kB / 0.9638 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004679/0.2873, allocations: 267.5 kB / 0.9641 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.2873, allocations: 0 / 0.9641 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000591/0.2879, allocations: 335.3 kB / 0.9644 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.2879, allocations: 6.906 kB / 0.9644 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.2879, allocations: 8 kB / 0.9644 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.2879, allocations: 4 kB / 0.9644 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/0.2882, allocations: 67.83 kB / 0.9645 GB, free: 10.03 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.2882, allocations: 4 kB / 0.9645 GB, free: 10.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.2884, allocations: 35.67 kB / 0.9645 GB, free: 9.992 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.2884, allocations: 11.98 kB / 0.9645 GB, free: 9.98 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.0001603/0.2886, allocations: 169.8 kB / 0.9647 GB, free: 9.805 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.98e-05/0.2887, allocations: 47.44 kB / 0.9647 GB, free: 9.758 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.214e-05/0.2888, allocations: 47.98 kB / 0.9648 GB, free: 9.715 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.2888, allocations: 4 kB / 0.9648 GB, free: 9.711 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.2888, allocations: 0 / 0.9648 GB, free: 9.711 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.2888, allocations: 7.922 kB / 0.9648 GB, free: 9.703 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004099/0.2892, allocations: 429.2 kB / 0.9652 GB, free: 9.234 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2892, allocations: 0 / 0.9652 GB, free: 9.234 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000255/0.2895, allocations: 55.88 kB / 0.9653 GB, free: 9.18 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.2895, allocations: 0 / 0.9653 GB, free: 9.18 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.2895, allocations: 8 kB / 0.9653 GB, free: 9.172 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.2895, allocations: 4 kB / 0.9653 GB, free: 9.168 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.2895, allocations: 4 kB / 0.9653 GB, free: 9.164 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008414/0.2904, allocations: 0.5045 MB / 0.9658 GB, free: 8.645 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.2905, allocations: 136.5 kB / 0.9659 GB, free: 8.492 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.238e-05/0.2906, allocations: 4 kB / 0.9659 GB, free: 8.488 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.2908, allocations: 15.98 kB / 0.9659 GB, free: 8.473 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.988e-05/0.2908, allocations: 15.98 kB / 0.9659 GB, free: 8.457 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.2909, allocations: 11.92 kB / 0.9659 GB, free: 8.445 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002817/0.2911, allocations: 283.2 kB / 0.9662 GB, free: 8.168 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/0.2911, allocations: 0 / 0.9662 GB, free: 8.168 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003033/0.2915, allocations: 71.81 kB / 0.9663 GB, free: 8.098 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.0001105/0.2916, allocations: 111.2 kB / 0.9664 GB, free: 7.98 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005401/0.2921, allocations: 236.1 kB / 0.9666 GB, free: 7.75 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.2921, allocations: 4 kB / 0.9666 GB, free: 7.746 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002487/0.2924, allocations: 119.9 kB / 0.9667 GB, free: 7.629 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006134/0.293, allocations: 124.9 kB / 0.9669 GB, free: 7.512 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.2942, allocations: 0.7184 MB / 0.9676 GB, free: 6.762 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.2945, allocations: 0.8232 MB / 0.9684 GB, free: 5.91 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001642/0.2947, allocations: 59.23 kB / 0.9684 GB, free: 5.855 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.569e-05/0.2947, allocations: 31.42 kB / 0.9684 GB, free: 5.824 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.2948, allocations: 0 / 0.9684 GB, free: 5.824 MB / 0.7481 GB Notification: Performance of Templates: time 0.007438/0.3022, allocations: 3.799 MB / 0.9722 GB, free: 2.098 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 -s gbode -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