Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.001321/0.001321, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001441/0.001441, allocations: 221.6 kB / 23 MB, free: 4.914 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.319/3.319, allocations: 0.5107 GB / 0.8166 GB, free: 17.83 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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") [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.002098/0.002098, allocations: 70.14 kB / 1.187 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4047/0.4068, allocations: 181.9 MB / 1.365 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002531/0.4093, allocations: 0.8864 MB / 1.365 GB, free: 12.72 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001478/0.4108, allocations: 0.926 MB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.759e-05/0.4109, allocations: 0 / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.173e-05/0.4109, allocations: 15.8 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001254/0.411, allocations: 15.81 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.4113, allocations: 47.94 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002052/0.4115, allocations: 127.6 kB / 1.367 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.4117, allocations: 29.72 kB / 1.367 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.4119, allocations: 63.83 kB / 1.367 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.412, allocations: 51.7 kB / 1.367 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.087e-05/0.412, allocations: 12 kB / 1.367 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.409e-05/0.4121, allocations: 27.92 kB / 1.367 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.338e-05/0.4121, allocations: 27.92 kB / 1.367 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.614e-05/0.4122, allocations: 47.73 kB / 1.367 GB, free: 11.31 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002526/0.4125, allocations: 159.3 kB / 1.367 GB, free: 11.16 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.4125, allocations: 0 / 1.367 GB, free: 11.16 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4125, allocations: 0 / 1.367 GB, free: 11.16 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.4125, allocations: 0 / 1.367 GB, free: 11.16 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006817/0.4131, allocations: 361.8 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.4132, allocations: 8.031 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002757/0.4135, allocations: 32.81 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.4138, allocations: 163 kB / 1.368 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.4138, allocations: 4.375 kB / 1.368 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.4138, allocations: 12.12 kB / 1.368 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002552/0.4141, allocations: 109.6 kB / 1.368 GB, free: 10.42 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.4141, allocations: 0 / 1.368 GB, free: 10.42 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.4141, allocations: 3.938 kB / 1.368 GB, free: 10.42 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/0.4141, allocations: 4 kB / 1.368 GB, free: 10.41 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001941/0.4143, allocations: 71.89 kB / 1.368 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005867/0.4149, allocations: 308.2 kB / 1.368 GB, free: 10.01 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002813/0.4152, allocations: 86.64 kB / 1.368 GB, free: 9.918 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.931e-05/0.4153, allocations: 36.84 kB / 1.368 GB, free: 9.879 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.4153, allocations: 0 / 1.368 GB, free: 9.879 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.4153, allocations: 34.56 kB / 1.368 GB, free: 9.836 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.4153, allocations: 0 / 1.368 GB, free: 9.836 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0004011/0.4157, allocations: 129.8 kB / 1.368 GB, free: 9.703 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.4158, allocations: 51.41 kB / 1.368 GB, free: 9.641 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.4159, allocations: 151.9 kB / 1.368 GB, free: 9.484 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.4159, allocations: 29.7 kB / 1.369 GB, free: 9.449 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.256e-05/0.416, allocations: 112 kB / 1.369 GB, free: 9.336 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.416, allocations: 19.84 kB / 1.369 GB, free: 9.316 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.125e-05/0.4161, allocations: 29.7 kB / 1.369 GB, free: 9.281 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.4162, allocations: 322.8 kB / 1.369 GB, free: 8.957 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.32e-05/0.4163, allocations: 27.98 kB / 1.369 GB, free: 8.93 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/0.4165, allocations: 109.9 kB / 1.369 GB, free: 8.801 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.4166, allocations: 56.86 kB / 1.369 GB, free: 8.742 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4166, allocations: 0 / 1.369 GB, free: 8.742 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002442/0.4169, allocations: 121.6 kB / 1.369 GB, free: 8.617 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.4169, allocations: 6.125 kB / 1.369 GB, free: 8.613 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.4169, allocations: 3.938 kB / 1.369 GB, free: 8.609 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.4169, allocations: 3.984 kB / 1.369 GB, free: 8.605 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.667e-05/0.417, allocations: 8 kB / 1.369 GB, free: 8.598 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.417, allocations: 8.062 kB / 1.369 GB, free: 8.59 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.242e-05/0.4171, allocations: 11.98 kB / 1.369 GB, free: 8.578 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.4171, allocations: 0 / 1.369 GB, free: 8.578 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001126/0.4172, allocations: 122.9 kB / 1.369 GB, free: 8.449 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.855e-05/0.4173, allocations: 15.88 kB / 1.369 GB, free: 8.434 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.981e-05/0.4173, allocations: 24.64 kB / 1.369 GB, free: 8.406 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.4173, allocations: 0 / 1.369 GB, free: 8.406 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.4173, allocations: 0 / 1.369 GB, free: 8.406 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.4173, allocations: 0 / 1.369 GB, free: 8.406 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001903/0.4175, allocations: 149.4 kB / 1.37 GB, free: 8.23 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4175, allocations: 0 / 1.37 GB, free: 8.23 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.578e-05/0.4176, allocations: 15.98 kB / 1.37 GB, free: 8.215 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.4176, allocations: 11.94 kB / 1.37 GB, free: 8.203 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.4176, allocations: 0 / 1.37 GB, free: 8.203 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.4176, allocations: 0 / 1.37 GB, free: 8.203 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4176, allocations: 0 / 1.37 GB, free: 8.203 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.4179, allocations: 187.5 kB / 1.37 GB, free: 8.004 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.909e-05/0.4179, allocations: 7.953 kB / 1.37 GB, free: 7.996 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.4179, allocations: 7.938 kB / 1.37 GB, free: 7.988 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.4181, allocations: 11.98 kB / 1.37 GB, free: 7.977 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.585e-05/0.4181, allocations: 23.91 kB / 1.37 GB, free: 7.953 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.4181, allocations: 3.984 kB / 1.37 GB, free: 7.949 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.339e-05/0.4182, allocations: 109.5 kB / 1.37 GB, free: 7.844 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.4182, allocations: 0 / 1.37 GB, free: 7.844 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000239/0.4185, allocations: 23.89 kB / 1.37 GB, free: 7.82 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001217/0.4186, allocations: 95.25 kB / 1.37 GB, free: 7.719 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002539/0.4188, allocations: 71.94 kB / 1.37 GB, free: 7.648 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4188, allocations: 8 kB / 1.37 GB, free: 7.641 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.565e-05/0.4189, allocations: 35.92 kB / 1.37 GB, free: 7.605 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.4192, allocations: 13.64 kB / 1.37 GB, free: 7.594 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005157/0.4198, allocations: 241.8 kB / 1.37 GB, free: 7.324 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.665e-05/0.4198, allocations: 96.97 kB / 1.371 GB, free: 7.211 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.162e-05/0.4199, allocations: 15.44 kB / 1.371 GB, free: 7.195 MB / 1.061 GB Notification: Performance of SimCode: time 5.31e-07/0.4199, allocations: 0 / 1.371 GB, free: 7.195 MB / 1.061 GB Notification: Performance of Templates: time 0.003548/0.4235, allocations: 1.385 MB / 1.372 GB, free: 5.812 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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: 11.243401260115206]