Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001913/0.001913, allocations: 104.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.001916/0.001916, allocations: 213.5 kB / 22.99 MB, free: 4.945 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.68/1.68, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.699/3.699, allocations: 0.4892 GB / 0.7951 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.00212/0.00212, allocations: 63.39 kB / 1.154 GB, free: 25.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.463/0.4651, allocations: 176.1 MB / 1.326 GB, free: 1.844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.00609/0.4712, allocations: 2.89 MB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003132/0.4743, allocations: 1.146 MB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007155/0.4751, allocations: 23.81 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004732/0.4755, allocations: 103 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005477/0.4761, allocations: 107.1 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.4773, allocations: 367.2 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001083/0.4784, allocations: 0.6324 MB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004624/0.4788, allocations: 166.2 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005481/0.4794, allocations: 235 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002842/0.4797, allocations: 198.8 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.638e-05/0.4797, allocations: 52 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.4798, allocations: 56 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.48, allocations: 107.6 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001843/0.4801, allocations: 182.9 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008404/0.481, allocations: 0.7041 MB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.481, allocations: 0 / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.764e-06/0.481, allocations: 4 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.481, allocations: 0 / 1.333 GB, free: 10.87 MB / 1.029 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.001408/0.4824, allocations: 0.7731 MB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.4824, allocations: 8.031 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003606/0.4828, allocations: 84.53 kB / 1.334 GB, free: 9.973 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.4838, allocations: 471.5 kB / 1.334 GB, free: 9.488 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/0.4838, allocations: 21.03 kB / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.899e-05/0.4839, allocations: 28.38 kB / 1.334 GB, free: 9.441 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007324/0.4846, allocations: 422.7 kB / 1.335 GB, free: 8.984 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.4846, allocations: 3.938 kB / 1.335 GB, free: 8.98 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.756e-05/0.4847, allocations: 16 kB / 1.335 GB, free: 8.965 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.4847, allocations: 8 kB / 1.335 GB, free: 8.957 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005921/0.4853, allocations: 250.4 kB / 1.335 GB, free: 8.711 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/0.4869, allocations: 1.266 MB / 1.336 GB, free: 7.391 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006898/0.4876, allocations: 261 kB / 1.337 GB, free: 7.129 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002892/0.4879, allocations: 124.8 kB / 1.337 GB, free: 7.004 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.785e-05/0.4879, allocations: 4 kB / 1.337 GB, free: 7 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.488, allocations: 34.56 kB / 1.337 GB, free: 6.957 MB / 1.029 GB Notification: Performance of pre-optimization done (n=23): time 1.543e-06/0.488, allocations: 4 kB / 1.337 GB, free: 6.953 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.0009235/0.4889, allocations: 363.5 kB / 1.337 GB, free: 6.594 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.4889, allocations: 55.41 kB / 1.337 GB, free: 6.527 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005134/0.4895, allocations: 429.8 kB / 1.338 GB, free: 6.102 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.4895, allocations: 29.7 kB / 1.338 GB, free: 6.066 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002293/0.4897, allocations: 264.5 kB / 1.338 GB, free: 5.801 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.491e-05/0.4898, allocations: 79.27 kB / 1.338 GB, free: 5.723 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.4899, allocations: 61.88 kB / 1.338 GB, free: 5.652 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002148/0.4901, allocations: 362.7 kB / 1.338 GB, free: 5.289 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002475/0.4904, allocations: 92.52 kB / 1.338 GB, free: 5.199 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002961/0.4906, allocations: 160.8 kB / 1.339 GB, free: 5.016 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005544/0.4912, allocations: 274.8 kB / 1.339 GB, free: 4.723 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.4912, allocations: 8 kB / 1.339 GB, free: 4.715 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006771/0.4919, allocations: 337 kB / 1.339 GB, free: 4.379 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.4919, allocations: 4 kB / 1.339 GB, free: 4.375 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.4919, allocations: 8.25 kB / 1.339 GB, free: 4.367 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/0.4919, allocations: 4 kB / 1.339 GB, free: 4.363 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002962/0.4922, allocations: 55.91 kB / 1.339 GB, free: 4.309 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.773e-05/0.4923, allocations: 11.92 kB / 1.339 GB, free: 4.297 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.4924, allocations: 27.84 kB / 1.339 GB, free: 4.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.412e-05/0.4925, allocations: 15.98 kB / 1.339 GB, free: 4.254 MB / 1.029 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.0002288/0.4927, allocations: 180.2 kB / 1.339 GB, free: 4.07 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.773e-05/0.4928, allocations: 47.72 kB / 1.339 GB, free: 4.023 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/0.4929, allocations: 52.09 kB / 1.34 GB, free: 3.969 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.4929, allocations: 3.984 kB / 1.34 GB, free: 3.965 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.4929, allocations: 0 / 1.34 GB, free: 3.965 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.4929, allocations: 4 kB / 1.34 GB, free: 3.961 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004565/0.4934, allocations: 321 kB / 1.34 GB, free: 3.617 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4934, allocations: 0 / 1.34 GB, free: 3.617 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002581/0.4936, allocations: 39.97 kB / 1.34 GB, free: 3.578 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.4936, allocations: 8 kB / 1.34 GB, free: 3.57 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/0.4937, allocations: 11.92 kB / 1.34 GB, free: 3.559 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.4937, allocations: 0 / 1.34 GB, free: 3.559 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4937, allocations: 4 kB / 1.34 GB, free: 3.555 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009798/0.4946, allocations: 0.4999 MB / 1.34 GB, free: 3.039 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.4948, allocations: 59.67 kB / 1.34 GB, free: 2.98 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.03e-05/0.4948, allocations: 11.98 kB / 1.34 GB, free: 2.969 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.495, allocations: 12.06 kB / 1.34 GB, free: 2.957 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.347e-05/0.4951, allocations: 19.95 kB / 1.34 GB, free: 2.938 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.4951, allocations: 11.94 kB / 1.34 GB, free: 2.926 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003551/0.4955, allocations: 287.1 kB / 1.341 GB, free: 2.648 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4955, allocations: 0 / 1.341 GB, free: 2.648 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003516/0.4958, allocations: 75.78 kB / 1.341 GB, free: 2.574 MB / 1.029 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.0001493/0.496, allocations: 103.2 kB / 1.341 GB, free: 2.465 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006128/0.4966, allocations: 243.5 kB / 1.341 GB, free: 2.227 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4966, allocations: 0 / 1.341 GB, free: 2.227 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.00026/0.4968, allocations: 113.3 kB / 1.341 GB, free: 2.117 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007188/0.4976, allocations: 119.8 kB / 1.341 GB, free: 2.012 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.4991, allocations: 0.7668 MB / 1.342 GB, free: 1.207 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.4994, allocations: 224.3 kB / 1.342 GB, free: 0.9609 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.4995, allocations: 35.42 kB / 1.342 GB, free: 0.9258 MB / 1.029 GB Notification: Performance of SimCode: time 1.423e-06/0.4995, allocations: 3.938 kB / 1.342 GB, free: 0.9219 MB / 1.029 GB Notification: Performance of Templates: time 0.009843/0.5093, allocations: 5.621 MB / 1.348 GB, free: 11.34 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & ./Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.639833674766123]