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.001368/0.001368, allocations: 109.2 kB / 16.45 MB, free: 6.508 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.001628/0.001628, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.623/1.623, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.529/3.529, allocations: 0.4899 GB / 0.7915 GB, free: 33.43 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.002214/0.002214, allocations: 70.52 kB / 1.149 GB, free: 26.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5891/0.5913, allocations: 176.1 MB / 1.321 GB, free: 2.816 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.005359/0.5967, allocations: 3.144 MB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002634/0.5993, allocations: 1.177 MB / 1.325 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003337/0.5997, allocations: 27.75 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003171/0.6, allocations: 91.12 kB / 1.326 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002441/0.6002, allocations: 111 kB / 1.326 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008533/0.6011, allocations: 350.3 kB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007438/0.6018, allocations: 0.6441 MB / 1.327 GB, free: 13.26 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003376/0.6022, allocations: 173.7 kB / 1.327 GB, free: 13.08 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003862/0.6025, allocations: 243 kB / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002666/0.6028, allocations: 206.8 kB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.264e-05/0.6029, allocations: 52 kB / 1.327 GB, free: 12.59 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.603, allocations: 59.98 kB / 1.327 GB, free: 12.53 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.6031, allocations: 111.5 kB / 1.327 GB, free: 12.42 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002372/0.6034, allocations: 238.6 kB / 1.328 GB, free: 12.19 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008669/0.6042, allocations: 0.6963 MB / 1.328 GB, free: 11.49 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.6042, allocations: 3.938 kB / 1.328 GB, free: 11.48 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.324e-06/0.6042, allocations: 4 kB / 1.328 GB, free: 11.48 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.6042, allocations: 0 / 1.328 GB, free: 11.48 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.001487/0.6057, allocations: 0.8445 MB / 1.329 GB, free: 10.59 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.6058, allocations: 19.97 kB / 1.329 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003846/0.6062, allocations: 84.53 kB / 1.329 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.6072, allocations: 0.5221 MB / 1.33 GB, free: 9.926 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.026e-05/0.6073, allocations: 24.97 kB / 1.33 GB, free: 9.902 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.942e-05/0.6073, allocations: 36.36 kB / 1.33 GB, free: 9.867 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007019/0.608, allocations: 371.1 kB / 1.33 GB, free: 9.469 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.608, allocations: 0 / 1.33 GB, free: 9.469 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.376e-05/0.6081, allocations: 16 kB / 1.33 GB, free: 9.453 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.6081, allocations: 7.984 kB / 1.33 GB, free: 9.445 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006249/0.6087, allocations: 254 kB / 1.33 GB, free: 9.199 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001875/0.6106, allocations: 1.433 MB / 1.332 GB, free: 7.691 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007591/0.6114, allocations: 248.7 kB / 1.332 GB, free: 7.441 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002993/0.6117, allocations: 128.8 kB / 1.332 GB, free: 7.312 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.6117, allocations: 4 kB / 1.332 GB, free: 7.309 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.6117, allocations: 38.56 kB / 1.332 GB, free: 7.262 MB / 1.029 GB Notification: Performance of pre-optimization done (n=23): time 1.312e-06/0.6117, allocations: 0 / 1.332 GB, free: 7.262 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.000974/0.6127, allocations: 362.9 kB / 1.333 GB, free: 6.902 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/0.6127, allocations: 55.41 kB / 1.333 GB, free: 6.836 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005364/0.6133, allocations: 421.9 kB / 1.333 GB, free: 6.418 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.63e-05/0.6133, allocations: 29.7 kB / 1.333 GB, free: 6.383 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002533/0.6136, allocations: 264.4 kB / 1.333 GB, free: 6.121 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.913e-05/0.6136, allocations: 79.31 kB / 1.333 GB, free: 6.043 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.6138, allocations: 57.92 kB / 1.333 GB, free: 5.977 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002239/0.614, allocations: 362.7 kB / 1.334 GB, free: 5.613 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002565/0.6142, allocations: 100.5 kB / 1.334 GB, free: 5.516 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003196/0.6146, allocations: 156.7 kB / 1.334 GB, free: 5.336 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005976/0.6152, allocations: 281.1 kB / 1.334 GB, free: 5.035 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.6152, allocations: 0 / 1.334 GB, free: 5.035 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007198/0.6159, allocations: 347 kB / 1.335 GB, free: 4.691 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.6159, allocations: 8 kB / 1.335 GB, free: 4.684 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.6159, allocations: 0 / 1.335 GB, free: 4.684 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.6159, allocations: 4 kB / 1.335 GB, free: 4.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002916/0.6162, allocations: 59.89 kB / 1.335 GB, free: 4.621 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.6162, allocations: 7.938 kB / 1.335 GB, free: 4.613 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.6164, allocations: 43.94 kB / 1.335 GB, free: 4.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/0.6165, allocations: 16 kB / 1.335 GB, free: 4.555 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.0002081/0.6167, allocations: 169.8 kB / 1.335 GB, free: 4.379 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.492e-05/0.6167, allocations: 47.72 kB / 1.335 GB, free: 4.332 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000135/0.6169, allocations: 48 kB / 1.335 GB, free: 4.281 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.6169, allocations: 0 / 1.335 GB, free: 4.281 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.6169, allocations: 0 / 1.335 GB, free: 4.281 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.6169, allocations: 7.938 kB / 1.335 GB, free: 4.273 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005773/0.6175, allocations: 437.2 kB / 1.335 GB, free: 3.797 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.6175, allocations: 8 kB / 1.335 GB, free: 3.789 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002662/0.6177, allocations: 47.91 kB / 1.336 GB, free: 3.742 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.6177, allocations: 0 / 1.336 GB, free: 3.742 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/0.6178, allocations: 7.984 kB / 1.336 GB, free: 3.734 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.6178, allocations: 4 kB / 1.336 GB, free: 3.73 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.6178, allocations: 0 / 1.336 GB, free: 3.73 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.6188, allocations: 0.4966 MB / 1.336 GB, free: 3.219 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/0.619, allocations: 140.8 kB / 1.336 GB, free: 3.062 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.43e-05/0.619, allocations: 4 kB / 1.336 GB, free: 3.059 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.6192, allocations: 15.98 kB / 1.336 GB, free: 3.043 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.681e-05/0.6193, allocations: 19.91 kB / 1.336 GB, free: 3.023 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.6193, allocations: 16 kB / 1.336 GB, free: 3.008 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003642/0.6197, allocations: 291.1 kB / 1.337 GB, free: 2.723 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.6197, allocations: 0 / 1.337 GB, free: 2.723 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003534/0.62, allocations: 67.84 kB / 1.337 GB, free: 2.656 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.0001531/0.6202, allocations: 115.2 kB / 1.337 GB, free: 2.535 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006331/0.6208, allocations: 225.9 kB / 1.337 GB, free: 2.316 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.6208, allocations: 0 / 1.337 GB, free: 2.316 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002739/0.6211, allocations: 119.7 kB / 1.337 GB, free: 2.199 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000693/0.6218, allocations: 129 kB / 1.337 GB, free: 2.086 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.6233, allocations: 0.7448 MB / 1.338 GB, free: 1.312 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01002/0.6333, allocations: 0.8233 MB / 1.339 GB, free: 472 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002415/0.6336, allocations: 47.27 kB / 1.339 GB, free: 420 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.758e-05/0.6337, allocations: 39.42 kB / 1.339 GB, free: 380 kB / 1.029 GB Notification: Performance of SimCode: time 1.292e-06/0.6337, allocations: 0 / 1.339 GB, free: 380 kB / 1.029 GB Notification: Performance of Templates: time 0.009529/0.6432, allocations: 3.887 MB / 1.343 GB, free: 12.55 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/jenkins/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: 10.667131996713579]