Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.844/2.844, allocations: 496.2 MB / 0.7819 GB, free: 12.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timSer.y.1.|timSer.y.2.|timSer.y.3.|timSer1.y.1.|timSer1.y.2.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries") translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timSer.y.1.|timSer.y.2.|timSer.y.3.|timSer1.y.1.|timSer1.y.2.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00296/0.00296, allocations: 64.08 kB / 1.136 GB, free: 12.49 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9962/0.9992, allocations: 173.6 MB / 1.305 GB, free: 33.42 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003139/1.002, allocations: 1.799 MB / 1.307 GB, free: 32.18 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001203/1.004, allocations: 0.6359 MB / 1.308 GB, free: 31.76 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.319e-05/1.004, allocations: 3.938 kB / 1.308 GB, free: 31.76 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002527/1.004, allocations: 21.67 kB / 1.308 GB, free: 31.74 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004019/1.004, allocations: 129 kB / 1.308 GB, free: 31.67 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003735/1.005, allocations: 159.5 kB / 1.308 GB, free: 31.6 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003131/1.005, allocations: 246.5 kB / 1.308 GB, free: 31.49 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/1.005, allocations: 28.36 kB / 1.308 GB, free: 31.48 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/1.005, allocations: 104.5 kB / 1.308 GB, free: 31.44 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007768/1.013, allocations: 1.061 MB / 1.309 GB, free: 31.14 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.285e-05/1.013, allocations: 17.16 kB / 1.309 GB, free: 31.14 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/1.013, allocations: 34.41 kB / 1.31 GB, free: 31.13 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.332e-05/1.013, allocations: 49.7 kB / 1.31 GB, free: 31.1 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.32e-05/1.013, allocations: 93.27 kB / 1.31 GB, free: 31.04 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003249/1.014, allocations: 225.6 kB / 1.31 GB, free: 30.95 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/1.014, allocations: 0 / 1.31 GB, free: 30.95 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.313e-06/1.014, allocations: 0 / 1.31 GB, free: 30.95 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.162e-06/1.014, allocations: 2.594 kB / 1.31 GB, free: 30.95 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006897/1.014, allocations: 0.5598 MB / 1.31 GB, free: 30.44 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/1.014, allocations: 8.688 kB / 1.31 GB, free: 30.44 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.506e-05/1.014, allocations: 24.27 kB / 1.31 GB, free: 30.43 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/1.015, allocations: 253.1 kB / 1.311 GB, free: 30.19 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/1.015, allocations: 16.31 kB / 1.311 GB, free: 30.18 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.285e-05/1.015, allocations: 15.41 kB / 1.311 GB, free: 30.18 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/1.015, allocations: 103.5 kB / 1.311 GB, free: 30.12 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/1.015, allocations: 4 kB / 1.311 GB, free: 30.12 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/1.015, allocations: 6.938 kB / 1.311 GB, free: 30.12 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/1.015, allocations: 0 / 1.311 GB, free: 30.12 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/1.015, allocations: 62.7 kB / 1.311 GB, free: 30.1 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007452/1.016, allocations: 483 kB / 1.311 GB, free: 29.75 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002467/1.016, allocations: 106.5 kB / 1.311 GB, free: 29.7 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.294e-05/1.016, allocations: 35.52 kB / 1.311 GB, free: 29.68 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/1.016, allocations: 6.578 kB / 1.311 GB, free: 29.67 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001299/1.016, allocations: 110.8 kB / 1.312 GB, free: 29.6 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.413e-06/1.016, allocations: 4 kB / 1.312 GB, free: 29.59 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.0003082/1.017, allocations: 176.9 kB / 1.312 GB, free: 29.51 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/1.017, allocations: 57.7 kB / 1.312 GB, free: 29.45 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/1.017, allocations: 209.1 kB / 1.312 GB, free: 29.31 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/1.017, allocations: 32.67 kB / 1.312 GB, free: 29.27 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.241e-05/1.017, allocations: 123.9 kB / 1.312 GB, free: 29.16 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/1.017, allocations: 40.95 kB / 1.312 GB, free: 29.13 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.044e-05/1.017, allocations: 60.73 kB / 1.312 GB, free: 29.1 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.149e-05/1.017, allocations: 335.8 kB / 1.313 GB, free: 28.78 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/1.017, allocations: 66.39 kB / 1.313 GB, free: 28.76 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/1.017, allocations: 136 kB / 1.313 GB, free: 28.66 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002289/1.018, allocations: 215.4 kB / 1.313 GB, free: 28.5 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/1.018, allocations: 0 / 1.313 GB, free: 28.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000497/1.018, allocations: 328.6 kB / 1.313 GB, free: 28.33 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.841e-05/1.018, allocations: 68.66 kB / 1.313 GB, free: 28.27 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/1.018, allocations: 8.094 kB / 1.313 GB, free: 28.26 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/1.018, allocations: 5.469 kB / 1.313 GB, free: 28.26 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.059e-05/1.018, allocations: 15.22 kB / 1.313 GB, free: 28.26 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/1.018, allocations: 12.11 kB / 1.313 GB, free: 28.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/1.018, allocations: 19.72 kB / 1.313 GB, free: 28.25 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/1.019, allocations: 15.28 kB / 1.313 GB, free: 28.24 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (timSer1.timeConverted,$PRE.timSer1.timeConverted,timSer.timeConverted,$PRE.timSer.timeConverted,timSer1.sampleTrigger,timSer1.tActivateLast,$PRE.timSer1.tActivateLast,timSer1.active,timSer.sampleTrigger,timSer.tActivateLast,$PRE.timSer.tActivateLast,timSer.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 2 * 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.371e-05/1.019, allocations: 140.9 kB / 1.314 GB, free: 28.11 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/1.019, allocations: 18.59 kB / 1.314 GB, free: 28.11 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002086/1.019, allocations: 159.9 kB / 1.314 GB, free: 28.02 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/1.019, allocations: 0 / 1.314 GB, free: 28.02 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/1.019, allocations: 0 / 1.314 GB, free: 28.02 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/1.019, allocations: 6.25 kB / 1.314 GB, free: 28.02 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004531/1.019, allocations: 488.2 kB / 1.314 GB, free: 27.64 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/1.019, allocations: 0 / 1.314 GB, free: 27.64 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.937e-05/1.019, allocations: 11.45 kB / 1.314 GB, free: 27.64 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/1.019, allocations: 0 / 1.314 GB, free: 27.64 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/1.019, allocations: 3.938 kB / 1.314 GB, free: 27.64 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/1.019, allocations: 6.562 kB / 1.314 GB, free: 27.63 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/1.019, allocations: 0 / 1.314 GB, free: 27.63 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00019/1.02, allocations: 248.8 kB / 1.314 GB, free: 27.45 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.473e-05/1.02, allocations: 100.7 kB / 1.315 GB, free: 27.35 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/1.02, allocations: 7.328 kB / 1.315 GB, free: 27.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/1.02, allocations: 7.906 kB / 1.315 GB, free: 27.34 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.77e-05/1.02, allocations: 15.38 kB / 1.315 GB, free: 27.34 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-05/1.02, allocations: 15.59 kB / 1.315 GB, free: 27.34 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.223e-05/1.02, allocations: 142.4 kB / 1.315 GB, free: 27.24 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.02, allocations: 0 / 1.315 GB, free: 27.24 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003073/1.02, allocations: 55.61 kB / 1.315 GB, free: 27.23 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: 13 (timSer1.sampleTrigger,timSer.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,timSer.active,timSer.tActivateLast,timSer.timeConverted,timSer1.active,timSer1.tActivateLast,timSer1.timeConverted) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0003411/1.021, allocations: 164.6 kB / 1.315 GB, free: 27.12 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003447/1.021, allocations: 241.6 kB / 1.315 GB, free: 26.96 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.021, allocations: 3.938 kB / 1.315 GB, free: 26.95 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.532e-05/1.021, allocations: 51.78 kB / 1.315 GB, free: 26.94 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004342/1.021, allocations: 66.59 kB / 1.315 GB, free: 26.92 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005543/1.022, allocations: 332.3 kB / 1.316 GB, free: 26.7 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/1.022, allocations: 0.7282 MB / 1.316 GB, free: 26 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.043e-05/1.022, allocations: 27.02 kB / 1.316 GB, free: 25.99 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.013e-05/1.022, allocations: 24.98 kB / 1.316 GB, free: 25.98 MB / 1.061 GB Notification: Performance of SimCode: time 5.71e-07/1.022, allocations: 0 / 1.316 GB, free: 25.98 MB / 1.061 GB Notification: Performance of Templates: time 0.006605/1.029, allocations: 3.616 MB / 1.32 GB, free: 25.65 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.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: 9.14488121215254]