Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 80.53 kB / 19.18 MB, free: 2.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 163.9 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.527/1.527, allocations: 177.2 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.039/3.039, allocations: 389 MB / 0.633 GB, free: 0.9844 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conHeaFan.yHea|conHeaFan.yFan|conHeaFan.TSetRooCoo|conHeaFan.TRoo|conHeaFan.TSetRooHea",fileNamePrefix="Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") translateModel(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conHeaFan.yHea|conHeaFan.yFan|conHeaFan.TSetRooCoo|conHeaFan.TRoo|conHeaFan.TSetRooHea",fileNamePrefix="Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 1 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.498e-05/3.685e-05, allocations: 2.281 kB / 1 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.005891/0.005928, allocations: 2.894 MB / 1.003 GB, free: 4.391 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003229/0.009157, allocations: 1.145 MB / 1.004 GB, free: 3.238 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007315/0.009888, allocations: 23.81 kB / 1.004 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0004939/0.01038, allocations: 95 kB / 1.004 GB, free: 3.121 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0006053/0.01099, allocations: 111 kB / 1.004 GB, free: 3.012 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.01222, allocations: 365.8 kB / 1.005 GB, free: 2.66 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001291/0.01351, allocations: 0.6595 MB / 1.005 GB, free: 1.996 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005202/0.01403, allocations: 158.4 kB / 1.005 GB, free: 1.836 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008706/0.0149, allocations: 327.2 kB / 1.006 GB, free: 1.516 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003742/0.01527, allocations: 151.5 kB / 1.006 GB, free: 1.367 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001408/0.01542, allocations: 55.94 kB / 1.006 GB, free: 1.312 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001506/0.01557, allocations: 56 kB / 1.006 GB, free: 1.258 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.01571, allocations: 103.6 kB / 1.006 GB, free: 1.156 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002269/0.01593, allocations: 147.5 kB / 1.006 GB, free: 1.012 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.01704, allocations: 0.7086 MB / 1.007 GB, free: 308 kB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.01705, allocations: 0 / 1.007 GB, free: 308 kB / 0.9512 GB Notification: Performance of FrontEnd: time 1.723e-06/0.01705, allocations: 4 kB / 1.007 GB, free: 304 kB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.878e-05/0.01709, allocations: 3.938 kB / 1.007 GB, free: 300 kB / 0.9512 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.002079/0.01917, allocations: 0.7653 MB / 1.008 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.01922, allocations: 8.031 kB / 1.008 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004604/0.01968, allocations: 88.52 kB / 1.008 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/0.02101, allocations: 466.7 kB / 1.008 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.546e-05/0.02105, allocations: 21.03 kB / 1.008 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.291e-05/0.02112, allocations: 28.38 kB / 1.008 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008765/0.022, allocations: 423 kB / 1.009 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.02202, allocations: 192 / 1.009 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.865e-05/0.02205, allocations: 12.38 kB / 1.009 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.02207, allocations: 15.94 kB / 1.009 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006949/0.02276, allocations: 254.4 kB / 1.009 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002065/0.02483, allocations: 1.259 MB / 1.01 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007909/0.02562, allocations: 250.8 kB / 1.01 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003436/0.02596, allocations: 128.7 kB / 1.011 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.323e-05/0.02601, allocations: 7.984 kB / 1.011 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/0.02605, allocations: 42.56 kB / 1.011 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=23): time 1.944e-06/0.02605, allocations: 0 / 1.011 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of matching and sorting (n=23): time 0.001138/0.02719, allocations: 359.6 kB / 1.011 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.02724, allocations: 55.41 kB / 1.011 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006046/0.02784, allocations: 417.9 kB / 1.011 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.957e-05/0.02788, allocations: 41.69 kB / 1.011 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002529/0.02814, allocations: 260.4 kB / 1.012 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.398e-05/0.02823, allocations: 79.28 kB / 1.012 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.02836, allocations: 53.97 kB / 1.012 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002677/0.02862, allocations: 354.8 kB / 1.012 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002833/0.02891, allocations: 100.4 kB / 1.012 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003293/0.02924, allocations: 156.8 kB / 1.012 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006374/0.02987, allocations: 279.4 kB / 1.013 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.02988, allocations: 0 / 1.013 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008293/0.03071, allocations: 344.9 kB / 1.013 GB, free: 9.824 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.03073, allocations: 10.44 kB / 1.013 GB, free: 9.816 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.03074, allocations: 4 kB / 1.013 GB, free: 9.812 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.03076, allocations: 4 kB / 1.013 GB, free: 9.809 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003018/0.03106, allocations: 63.89 kB / 1.013 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.03107, allocations: 0 / 1.013 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002353/0.03131, allocations: 31.83 kB / 1.013 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-05/0.03134, allocations: 12 kB / 1.013 GB, free: 9.703 MB / 0.9669 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.0002607/0.0316, allocations: 178.2 kB / 1.013 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.0317, allocations: 43.72 kB / 1.013 GB, free: 9.477 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001258/0.03183, allocations: 52.09 kB / 1.013 GB, free: 9.422 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.03184, allocations: 4 kB / 1.013 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.03184, allocations: 0 / 1.013 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.03185, allocations: 0 / 1.013 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005364/0.03239, allocations: 329 kB / 1.014 GB, free: 9.066 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.03239, allocations: 0 / 1.014 GB, free: 9.066 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002797/0.03267, allocations: 51.89 kB / 1.014 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.03267, allocations: 0 / 1.014 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-05/0.0327, allocations: 4 kB / 1.014 GB, free: 9.012 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.0327, allocations: 7.938 kB / 1.014 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.0327, allocations: 7.938 kB / 1.014 GB, free: 8.996 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.0338, allocations: 0.4988 MB / 1.014 GB, free: 8.48 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.03396, allocations: 67.66 kB / 1.014 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.185e-05/0.03401, allocations: 4 kB / 1.014 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.03421, allocations: 16.05 kB / 1.014 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.248e-05/0.03429, allocations: 15.97 kB / 1.014 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.03431, allocations: 4 kB / 1.014 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003873/0.0347, allocations: 295.1 kB / 1.015 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.0347, allocations: 0 / 1.015 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003729/0.03507, allocations: 67.84 kB / 1.015 GB, free: 8.027 MB / 0.9669 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.0001786/0.03525, allocations: 111.2 kB / 1.015 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0006665/0.03591, allocations: 234.7 kB / 1.015 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.03592, allocations: 0 / 1.015 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002833/0.0362, allocations: 107.9 kB / 1.015 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007749/0.03697, allocations: 127.9 kB / 1.015 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.03866, allocations: 0.7242 MB / 1.016 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.03893, allocations: 220.3 kB / 1.016 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002272/0.03916, allocations: 47.25 kB / 1.016 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.03927, allocations: 40.48 kB / 1.016 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of SimCode: time 8.92e-07/0.03927, allocations: 0 / 1.016 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of Templates: time 0.01108/0.05035, allocations: 4.043 MB / 1.02 GB, free: 2.465 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & ./Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.529904697090387]