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.001684/0.001684, allocations: 100.4 kB / 19.7 MB, free: 2.125 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.002207/0.002207, allocations: 214.8 kB / 22.99 MB, free: 4.949 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.622/1.622, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.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.595/3.595, allocations: 0.5107 GB / 0.8166 GB, free: 17.85 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 68.22 kB / 1.187 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4977/0.4998, allocations: 181.9 MB / 1.365 GB, free: 13.64 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.005184/0.505, allocations: 2.893 MB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002293/0.5073, allocations: 1.134 MB / 1.369 GB, free: 9.582 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000284/0.5075, allocations: 27.81 kB / 1.369 GB, free: 9.555 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003184/0.5079, allocations: 91.06 kB / 1.369 GB, free: 9.465 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002439/0.5081, allocations: 111 kB / 1.369 GB, free: 9.355 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008398/0.509, allocations: 364.8 kB / 1.369 GB, free: 9.004 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0007511/0.5097, allocations: 0.6441 MB / 1.37 GB, free: 8.355 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003658/0.5101, allocations: 158.4 kB / 1.37 GB, free: 8.191 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003927/0.5105, allocations: 242.9 kB / 1.37 GB, free: 7.953 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002658/0.5107, allocations: 186.8 kB / 1.37 GB, free: 7.77 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.834e-05/0.5108, allocations: 52 kB / 1.37 GB, free: 7.719 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.5109, allocations: 56 kB / 1.37 GB, free: 7.664 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.511, allocations: 111.6 kB / 1.371 GB, free: 7.555 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001909/0.5112, allocations: 182.9 kB / 1.371 GB, free: 7.375 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000843/0.5121, allocations: 0.7002 MB / 1.371 GB, free: 6.672 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.5121, allocations: 3.984 kB / 1.371 GB, free: 6.668 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.494e-06/0.5121, allocations: 4 kB / 1.371 GB, free: 6.664 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.54e-05/0.5121, allocations: 0 / 1.371 GB, free: 6.664 MB / 1.061 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.001431/0.5135, allocations: 0.7614 MB / 1.372 GB, free: 5.871 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.5136, allocations: 8.031 kB / 1.372 GB, free: 5.863 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003681/0.5139, allocations: 84.53 kB / 1.372 GB, free: 5.781 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009887/0.5149, allocations: 479.4 kB / 1.373 GB, free: 5.289 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.104e-05/0.515, allocations: 25.03 kB / 1.373 GB, free: 5.266 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.496e-05/0.515, allocations: 28.38 kB / 1.373 GB, free: 5.238 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007487/0.5158, allocations: 418.7 kB / 1.373 GB, free: 4.785 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.5158, allocations: 3.938 kB / 1.373 GB, free: 4.781 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.783e-05/0.5158, allocations: 19.98 kB / 1.373 GB, free: 4.762 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.5158, allocations: 15.94 kB / 1.373 GB, free: 4.746 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006214/0.5165, allocations: 246.4 kB / 1.373 GB, free: 4.504 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001705/0.5182, allocations: 1.259 MB / 1.375 GB, free: 3.191 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007226/0.5189, allocations: 254.9 kB / 1.375 GB, free: 2.934 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002911/0.5192, allocations: 120.8 kB / 1.375 GB, free: 2.812 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.586e-05/0.5192, allocations: 4 kB / 1.375 GB, free: 2.809 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.5193, allocations: 42.56 kB / 1.375 GB, free: 2.758 MB / 1.061 GB Notification: Performance of pre-optimization done (n=23): time 1.272e-06/0.5193, allocations: 0 / 1.375 GB, free: 2.758 MB / 1.061 GB Notification: Performance of matching and sorting (n=23): time 0.0009703/0.5202, allocations: 370.9 kB / 1.375 GB, free: 2.391 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.5203, allocations: 55.41 kB / 1.375 GB, free: 2.324 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005171/0.5208, allocations: 421.8 kB / 1.376 GB, free: 1.91 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.5208, allocations: 33.7 kB / 1.376 GB, free: 1.871 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002442/0.5211, allocations: 260.5 kB / 1.376 GB, free: 1.609 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.145e-05/0.5212, allocations: 91.22 kB / 1.376 GB, free: 1.52 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.986e-05/0.5213, allocations: 49.97 kB / 1.376 GB, free: 1.461 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002176/0.5215, allocations: 358.7 kB / 1.377 GB, free: 1.102 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002622/0.5217, allocations: 96.5 kB / 1.377 GB, free: 1.008 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003161/0.522, allocations: 164.7 kB / 1.377 GB, free: 0.8203 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000579/0.5226, allocations: 278.8 kB / 1.377 GB, free: 0.5234 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.5226, allocations: 0 / 1.377 GB, free: 0.5234 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007192/0.5233, allocations: 341.7 kB / 1.377 GB, free: 188 kB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.5234, allocations: 8.25 kB / 1.377 GB, free: 180 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.5234, allocations: 8 kB / 1.377 GB, free: 172 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.5234, allocations: 4 kB / 1.377 GB, free: 168 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002967/0.5237, allocations: 63.89 kB / 1.378 GB, free: 104 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.5237, allocations: 3.938 kB / 1.378 GB, free: 100 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001837/0.5239, allocations: 27.88 kB / 1.378 GB, free: 72 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/0.5239, allocations: 12 kB / 1.378 GB, free: 60 kB / 1.061 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.0002345/0.5242, allocations: 181.7 kB / 1.378 GB, free: 15.87 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.699e-05/0.5242, allocations: 47.67 kB / 1.378 GB, free: 15.82 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001189/0.5243, allocations: 52.09 kB / 1.378 GB, free: 15.77 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.5244, allocations: 4 kB / 1.378 GB, free: 15.77 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.5244, allocations: 0 / 1.378 GB, free: 15.77 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.5244, allocations: 0 / 1.378 GB, free: 15.77 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004596/0.5248, allocations: 317 kB / 1.378 GB, free: 15.43 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.5248, allocations: 3.938 kB / 1.378 GB, free: 15.42 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002658/0.5251, allocations: 47.95 kB / 1.378 GB, free: 15.38 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.5251, allocations: 3.938 kB / 1.378 GB, free: 15.37 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.5251, allocations: 4 kB / 1.378 GB, free: 15.37 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.177e-06/0.5251, allocations: 8 kB / 1.378 GB, free: 15.36 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5251, allocations: 0 / 1.378 GB, free: 15.36 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009809/0.5261, allocations: 0.4964 MB / 1.379 GB, free: 14.85 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.5262, allocations: 67.61 kB / 1.379 GB, free: 14.78 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.308e-05/0.5263, allocations: 4 kB / 1.379 GB, free: 14.78 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.5265, allocations: 20.05 kB / 1.379 GB, free: 14.76 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.618e-05/0.5265, allocations: 15.97 kB / 1.379 GB, free: 14.74 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.5266, allocations: 4 kB / 1.379 GB, free: 14.74 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003483/0.5269, allocations: 295.1 kB / 1.379 GB, free: 14.45 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.5269, allocations: 0 / 1.379 GB, free: 14.45 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003235/0.5272, allocations: 67.78 kB / 1.379 GB, free: 14.38 MB / 1.076 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.0001428/0.5274, allocations: 107.2 kB / 1.379 GB, free: 14.27 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000614/0.528, allocations: 240.3 kB / 1.379 GB, free: 14.04 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.528, allocations: 0 / 1.379 GB, free: 14.04 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002616/0.5282, allocations: 111.9 kB / 1.38 GB, free: 13.93 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007142/0.529, allocations: 145 kB / 1.38 GB, free: 13.8 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.5305, allocations: 0.7746 MB / 1.38 GB, free: 12.98 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/0.5307, allocations: 220.3 kB / 1.381 GB, free: 12.75 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.5309, allocations: 35.42 kB / 1.381 GB, free: 12.71 MB / 1.076 GB Notification: Performance of SimCode: time 4.01e-07/0.5309, allocations: 0 / 1.381 GB, free: 12.71 MB / 1.076 GB Notification: Performance of Templates: time 0.009245/0.5401, allocations: 5.616 MB / 1.386 GB, free: 7.137 MB / 1.076 GB " [Timeout remaining time 299] 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/jenkins1/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: 13.466991560067981]