Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 193 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.618/2.618, allocations: 443.4 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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=2500,variableFilter="time|conHeaFan.yHea|conHeaFan.yFan|conHeaFan.TSetRooCoo|conHeaFan.TRoo|conHeaFan.TSetRooHea",fileNamePrefix="Buildings_10_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_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 71.83 kB / 1.061 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.033/1.035, allocations: 160.8 MB / 1.218 GB, free: 3.664 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.00598/1.041, allocations: 3.15 MB / 1.222 GB, free: 1.191 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002942/1.044, allocations: 1.114 MB / 1.223 GB, free: 284 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007663/1.045, allocations: 23.62 kB / 1.223 GB, free: 272 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004086/1.045, allocations: 96.25 kB / 1.223 GB, free: 180 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0005556/1.046, allocations: 110.7 kB / 1.223 GB, free: 80 kB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009805/1.047, allocations: 351.6 kB / 1.223 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001105/1.048, allocations: 0.6375 MB / 1.224 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003575/1.048, allocations: 165.1 kB / 1.224 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003747/1.049, allocations: 239.1 kB / 1.224 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002571/1.049, allocations: 199.3 kB / 1.224 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.655e-05/1.049, allocations: 53 kB / 1.224 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.984e-05/1.049, allocations: 53.19 kB / 1.224 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001102/1.049, allocations: 114.8 kB / 1.225 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002296/1.049, allocations: 241.3 kB / 1.225 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008543/1.05, allocations: 0.6905 MB / 1.225 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/1.05, allocations: 4 kB / 1.225 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.343e-06/1.05, allocations: 0 / 1.225 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.638e-06/1.05, allocations: 0 / 1.225 GB, free: 14.1 MB / 0.9356 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.00143/1.052, allocations: 0.8348 MB / 1.226 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/1.052, allocations: 9.812 kB / 1.226 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/1.052, allocations: 60.31 kB / 1.226 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009707/1.053, allocations: 0.5154 MB / 1.227 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.044e-05/1.053, allocations: 25.3 kB / 1.227 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.91e-05/1.053, allocations: 39.53 kB / 1.227 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007052/1.054, allocations: 368.9 kB / 1.227 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/1.054, allocations: 1.438 kB / 1.227 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.343e-05/1.054, allocations: 14.62 kB / 1.227 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/1.054, allocations: 12.38 kB / 1.227 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000597/1.054, allocations: 258.7 kB / 1.228 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001752/1.056, allocations: 1.417 MB / 1.229 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006888/1.057, allocations: 252.2 kB / 1.229 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003011/1.057, allocations: 137.5 kB / 1.229 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.614e-05/1.057, allocations: 2.625 kB / 1.229 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/1.057, allocations: 40.03 kB / 1.229 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=23): time 1.813e-06/1.057, allocations: 0 / 1.229 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23): time 0.0009083/1.058, allocations: 355.8 kB / 1.23 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/1.058, allocations: 54.25 kB / 1.23 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004994/1.059, allocations: 426.9 kB / 1.23 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/1.059, allocations: 27.08 kB / 1.23 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002202/1.059, allocations: 270.7 kB / 1.23 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.967e-05/1.059, allocations: 76.75 kB / 1.231 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/1.059, allocations: 60.94 kB / 1.231 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001783/1.059, allocations: 355.9 kB / 1.231 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000254/1.059, allocations: 97.19 kB / 1.231 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003066/1.06, allocations: 171.7 kB / 1.231 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00054/1.06, allocations: 266.9 kB / 1.231 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/1.06, allocations: 0 / 1.231 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007048/1.061, allocations: 347.4 kB / 1.232 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/1.061, allocations: 6.719 kB / 1.232 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/1.061, allocations: 1.312 kB / 1.232 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/1.061, allocations: 4.312 kB / 1.232 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002856/1.061, allocations: 62.39 kB / 1.232 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/1.061, allocations: 3.75 kB / 1.232 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/1.062, allocations: 34.3 kB / 1.232 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.502e-05/1.062, allocations: 12.09 kB / 1.232 GB, free: 9.082 MB / 0.9356 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.0002066/1.062, allocations: 190 kB / 1.232 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.033e-05/1.062, allocations: 44.38 kB / 1.232 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/1.062, allocations: 44.05 kB / 1.232 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/1.062, allocations: 3.281 kB / 1.232 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.062, allocations: 0 / 1.232 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/1.062, allocations: 7.922 kB / 1.232 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005153/1.062, allocations: 429.8 kB / 1.233 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/1.062, allocations: 3.938 kB / 1.233 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002672/1.063, allocations: 51.97 kB / 1.233 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/1.063, allocations: 0 / 1.233 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.417e-05/1.063, allocations: 7.984 kB / 1.233 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/1.063, allocations: 0 / 1.233 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/1.063, allocations: 0 / 1.233 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009307/1.064, allocations: 0.5003 MB / 1.233 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001596/1.064, allocations: 144.7 kB / 1.233 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.547e-05/1.064, allocations: 7.984 kB / 1.233 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/1.064, allocations: 11.98 kB / 1.233 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/1.064, allocations: 23.83 kB / 1.233 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/1.064, allocations: 11.94 kB / 1.233 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003314/1.065, allocations: 295.2 kB / 1.234 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/1.065, allocations: 0 / 1.234 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003469/1.065, allocations: 63.83 kB / 1.234 GB, free: 7.25 MB / 0.9356 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.0001261/1.065, allocations: 111.2 kB / 1.234 GB, free: 7.133 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005998/1.066, allocations: 239.8 kB / 1.234 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.066, allocations: 0 / 1.234 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002488/1.066, allocations: 111.9 kB / 1.234 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006684/1.066, allocations: 124.4 kB / 1.234 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/1.068, allocations: 0.7452 MB / 1.235 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004522/1.068, allocations: 0.8194 MB / 1.236 GB, free: 5.059 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001938/1.069, allocations: 47.27 kB / 1.236 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.586e-05/1.069, allocations: 43.42 kB / 1.236 GB, free: 4.965 MB / 0.9356 GB Notification: Performance of SimCode: time 6.41e-07/1.069, allocations: 0 / 1.236 GB, free: 4.965 MB / 0.9356 GB Notification: Performance of Templates: time 0.008873/1.078, allocations: 3.995 MB / 1.24 GB, free: 1.039 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & ./Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.298729649744928]