Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001669/0.001669, allocations: 117.8 kB / 17.13 MB, free: 6.004 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.002103/0.002103, allocations: 217.8 kB / 20.1 MB, free: 3.051 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 / 253.5 MB, free: 15.07 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 2.987/2.987, allocations: 0.49 GB / 0.7923 GB, free: 1.309 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.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_12_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_12_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.002018/0.002018, allocations: 75.83 kB / 1.15 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9821/0.9841, allocations: 176.1 MB / 1.322 GB, free: 25.01 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002774/0.9869, allocations: 0.9184 MB / 1.323 GB, free: 24.41 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001342/0.9882, allocations: 0.9345 MB / 1.324 GB, free: 23.71 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.531e-05/0.9883, allocations: 0 / 1.324 GB, free: 23.71 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.204e-05/0.9883, allocations: 11.88 kB / 1.324 GB, free: 23.7 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001377/0.9885, allocations: 25.59 kB / 1.324 GB, free: 23.68 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.9888, allocations: 45.73 kB / 1.324 GB, free: 23.65 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000184/0.9889, allocations: 131.4 kB / 1.324 GB, free: 23.59 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.9891, allocations: 39.52 kB / 1.324 GB, free: 23.55 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001856/0.9893, allocations: 56.03 kB / 1.324 GB, free: 23.53 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.9894, allocations: 56.47 kB / 1.324 GB, free: 23.5 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.991e-05/0.9894, allocations: 15 kB / 1.324 GB, free: 23.5 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.297e-05/0.9895, allocations: 18.56 kB / 1.324 GB, free: 23.49 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.07e-05/0.9895, allocations: 29.58 kB / 1.324 GB, free: 23.47 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.299e-05/0.9896, allocations: 53.66 kB / 1.324 GB, free: 23.43 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002519/0.9898, allocations: 156.7 kB / 1.324 GB, free: 23.38 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.9898, allocations: 3.938 kB / 1.324 GB, free: 23.37 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.235e-06/0.9899, allocations: 0 / 1.324 GB, free: 23.37 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.9899, allocations: 0 / 1.324 GB, free: 23.37 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.000671/0.9905, allocations: 441.3 kB / 1.325 GB, free: 22.96 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.9906, allocations: 16.45 kB / 1.325 GB, free: 22.95 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003318/0.9909, allocations: 35.58 kB / 1.325 GB, free: 22.95 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002975/0.9912, allocations: 211.5 kB / 1.325 GB, free: 22.73 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.9912, allocations: 11.06 kB / 1.325 GB, free: 22.72 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.9912, allocations: 15.81 kB / 1.325 GB, free: 22.71 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000277/0.9915, allocations: 103.8 kB / 1.325 GB, free: 22.65 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.9915, allocations: 3.984 kB / 1.325 GB, free: 22.65 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/0.9916, allocations: 10.91 kB / 1.325 GB, free: 22.64 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.9916, allocations: 3.328 kB / 1.325 GB, free: 22.64 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002465/0.9918, allocations: 68.52 kB / 1.325 GB, free: 22.62 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006447/0.9925, allocations: 400.4 kB / 1.326 GB, free: 22.29 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000325/0.9928, allocations: 79.92 kB / 1.326 GB, free: 22.24 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.9929, allocations: 37.84 kB / 1.326 GB, free: 22.22 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.9929, allocations: 0 / 1.326 GB, free: 22.22 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.993, allocations: 41.41 kB / 1.326 GB, free: 22.18 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.993, allocations: 0 / 1.326 GB, free: 22.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0005087/0.9935, allocations: 128.2 kB / 1.326 GB, free: 22.11 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.496e-05/0.9935, allocations: 51.41 kB / 1.326 GB, free: 22.05 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.9937, allocations: 160 kB / 1.326 GB, free: 21.93 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.9937, allocations: 32.27 kB / 1.326 GB, free: 21.9 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.868e-05/0.9937, allocations: 105 kB / 1.326 GB, free: 21.8 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.9938, allocations: 30.16 kB / 1.326 GB, free: 21.78 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.341e-05/0.9938, allocations: 26 kB / 1.326 GB, free: 21.75 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.774e-05/0.9939, allocations: 332.1 kB / 1.327 GB, free: 21.43 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.994, allocations: 28.02 kB / 1.327 GB, free: 21.42 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.9942, allocations: 52.45 kB / 1.327 GB, free: 21.39 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002251/0.9944, allocations: 55.2 kB / 1.327 GB, free: 21.37 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.9944, allocations: 192 / 1.327 GB, free: 21.37 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003368/0.9947, allocations: 116.2 kB / 1.327 GB, free: 21.3 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.9948, allocations: 12.03 kB / 1.327 GB, free: 21.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.9948, allocations: 0 / 1.327 GB, free: 21.3 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.9948, allocations: 0 / 1.327 GB, free: 21.3 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.9949, allocations: 13.88 kB / 1.327 GB, free: 21.3 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.9949, allocations: 0 / 1.327 GB, free: 21.3 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.995, allocations: 19.48 kB / 1.327 GB, free: 21.29 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.9951, allocations: 2.906 kB / 1.327 GB, free: 21.29 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 9.479e-05/0.9951, allocations: 123.5 kB / 1.327 GB, free: 21.16 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.261e-05/0.9952, allocations: 13.86 kB / 1.327 GB, free: 21.16 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.59e-05/0.9952, allocations: 18.75 kB / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.9952, allocations: 3.938 kB / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.9953, allocations: 0 / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.9953, allocations: 0 / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002475/0.9955, allocations: 210.5 kB / 1.327 GB, free: 20.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.9955, allocations: 0 / 1.327 GB, free: 20.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.9956, allocations: 15.89 kB / 1.327 GB, free: 20.92 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.9956, allocations: 7.938 kB / 1.327 GB, free: 20.91 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.9956, allocations: 7.188 kB / 1.327 GB, free: 20.91 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.9956, allocations: 0 / 1.327 GB, free: 20.91 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.9956, allocations: 0 / 1.327 GB, free: 20.91 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003139/0.9959, allocations: 194 kB / 1.327 GB, free: 20.75 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.931e-05/0.996, allocations: 94.97 kB / 1.328 GB, free: 20.65 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.171e-05/0.996, allocations: 2.625 kB / 1.328 GB, free: 20.65 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.9962, allocations: 12.91 kB / 1.328 GB, free: 20.64 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.438e-05/0.9963, allocations: 19.67 kB / 1.328 GB, free: 20.64 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.9963, allocations: 2.906 kB / 1.328 GB, free: 20.64 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001051/0.9964, allocations: 114.8 kB / 1.328 GB, free: 20.55 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.9964, allocations: 0 / 1.328 GB, free: 20.55 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000413/0.9968, allocations: 23.52 kB / 1.328 GB, free: 20.54 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.000142/0.997, allocations: 99.73 kB / 1.328 GB, free: 20.46 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003831/0.9973, allocations: 73.77 kB / 1.328 GB, free: 20.43 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.9973, allocations: 0 / 1.328 GB, free: 20.43 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.9975, allocations: 35.3 kB / 1.328 GB, free: 20.43 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004953/0.998, allocations: 11.91 kB / 1.328 GB, free: 20.42 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006733/0.9987, allocations: 258.7 kB / 1.328 GB, free: 20.21 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001785/0.9988, allocations: 0.7069 MB / 1.329 GB, free: 19.52 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.536e-05/0.9989, allocations: 16.59 kB / 1.329 GB, free: 19.5 MB / 1.061 GB Notification: Performance of SimCode: time 3.4e-07/0.9989, allocations: 0 / 1.329 GB, free: 19.5 MB / 1.061 GB Notification: Performance of Templates: time 0.004832/1.004, allocations: 1.377 MB / 1.33 GB, free: 19.38 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.498449582009926]