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.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.001284/0.001284, allocations: 77.55 kB / 19.76 MB, free: 2.031 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.001381/0.001381, allocations: 159.6 kB / 23.01 MB, free: 4.949 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.424/1.424, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.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 2.888/2.888, allocations: 394.2 MB / 0.6387 GB, free: 11.95 MB / 0.6075 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.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: 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.00317/0.00317, allocations: 67.88 kB / 1.009 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8263/0.8295, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002731/0.8322, allocations: 1.778 MB / 1.188 GB, free: 15.01 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001077/0.8333, allocations: 0.6225 MB / 1.189 GB, free: 14.61 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.402e-05/0.8334, allocations: 5.312 kB / 1.189 GB, free: 14.61 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000167/0.8335, allocations: 30.47 kB / 1.189 GB, free: 14.58 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003357/0.8339, allocations: 124.3 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003397/0.8342, allocations: 153.7 kB / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002858/0.8345, allocations: 242.4 kB / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.8346, allocations: 23.88 kB / 1.189 GB, free: 14.33 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.8347, allocations: 118.2 kB / 1.19 GB, free: 14.28 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008098/0.8428, allocations: 1.049 MB / 1.191 GB, free: 13.98 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.915e-05/0.8429, allocations: 17.25 kB / 1.191 GB, free: 13.98 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 9.612e-05/0.843, allocations: 33.05 kB / 1.191 GB, free: 13.98 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 7.238e-05/0.8431, allocations: 47.77 kB / 1.191 GB, free: 13.95 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 9.784e-05/0.8432, allocations: 77.83 kB / 1.191 GB, free: 13.91 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000328/0.8435, allocations: 228 kB / 1.191 GB, free: 13.81 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.8435, allocations: 0 / 1.191 GB, free: 13.81 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.313e-06/0.8435, allocations: 5.062 kB / 1.191 GB, free: 13.81 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.8435, allocations: 0 / 1.191 GB, free: 13.81 MB / 1.076 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.0006843/0.8442, allocations: 497.4 kB / 1.191 GB, free: 13.39 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.8442, allocations: 9.531 kB / 1.191 GB, free: 13.39 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.799e-05/0.8443, allocations: 30.2 kB / 1.192 GB, free: 13.38 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.8446, allocations: 189.9 kB / 1.192 GB, free: 13.21 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.8446, allocations: 16.69 kB / 1.192 GB, free: 13.2 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.353e-05/0.8446, allocations: 16.8 kB / 1.192 GB, free: 13.2 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.8448, allocations: 111.4 kB / 1.192 GB, free: 13.13 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.8448, allocations: 5.219 kB / 1.192 GB, free: 13.13 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.8449, allocations: 6.078 kB / 1.192 GB, free: 13.12 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.8449, allocations: 1.594 kB / 1.192 GB, free: 13.12 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.845, allocations: 55.89 kB / 1.192 GB, free: 13.11 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007415/0.8457, allocations: 390.9 kB / 1.192 GB, free: 12.84 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.846, allocations: 104.6 kB / 1.192 GB, free: 12.79 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.884e-05/0.846, allocations: 35.05 kB / 1.192 GB, free: 12.77 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.846, allocations: 1.75 kB / 1.192 GB, free: 12.77 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/0.8462, allocations: 107.1 kB / 1.193 GB, free: 12.7 MB / 1.076 GB Notification: Performance of pre-optimization done (n=16): time 1.834e-06/0.8462, allocations: 1.156 kB / 1.193 GB, free: 12.7 MB / 1.076 GB Notification: Performance of matching and sorting (n=16): time 0.0003444/0.8465, allocations: 177.4 kB / 1.193 GB, free: 12.62 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.8466, allocations: 59.5 kB / 1.193 GB, free: 12.55 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.8468, allocations: 200.2 kB / 1.193 GB, free: 12.41 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.8468, allocations: 34.42 kB / 1.193 GB, free: 12.38 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.93e-05/0.8469, allocations: 129 kB / 1.193 GB, free: 12.27 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.845e-05/0.8469, allocations: 40.17 kB / 1.193 GB, free: 12.23 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.91e-05/0.847, allocations: 62.27 kB / 1.193 GB, free: 12.2 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.004e-05/0.847, allocations: 330.4 kB / 1.193 GB, free: 11.88 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.8472, allocations: 122.3 kB / 1.194 GB, free: 11.8 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002392/0.8475, allocations: 243.8 kB / 1.194 GB, free: 11.59 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002613/0.8477, allocations: 211.6 kB / 1.194 GB, free: 11.43 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.8477, allocations: 5.188 kB / 1.194 GB, free: 11.42 MB / 1.076 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006085/0.8483, allocations: 396.4 kB / 1.194 GB, free: 11.19 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.012e-05/0.8484, allocations: 64.62 kB / 1.194 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.8484, allocations: 1.688 kB / 1.194 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.8484, allocations: 11.33 kB / 1.195 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.799e-05/0.8485, allocations: 20.2 kB / 1.195 GB, free: 11.11 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.8485, allocations: 3.922 kB / 1.195 GB, free: 11.11 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000198/0.8487, allocations: 25.42 kB / 1.195 GB, free: 11.1 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.907e-05/0.8487, allocations: 16.39 kB / 1.195 GB, free: 11.1 MB / 1.076 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 0.0001016/0.8488, allocations: 143.7 kB / 1.195 GB, free: 10.97 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.049e-05/0.8488, allocations: 16.5 kB / 1.195 GB, free: 10.96 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.8491, allocations: 163.8 kB / 1.195 GB, free: 10.87 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.8491, allocations: 6.609 kB / 1.195 GB, free: 10.86 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.8491, allocations: 1.094 kB / 1.195 GB, free: 10.86 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.8491, allocations: 1.547 kB / 1.195 GB, free: 10.86 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004843/0.8496, allocations: 413.8 kB / 1.195 GB, free: 10.57 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.8496, allocations: 3.938 kB / 1.195 GB, free: 10.56 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-05/0.8496, allocations: 11.11 kB / 1.195 GB, free: 10.56 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.8496, allocations: 2.078 kB / 1.195 GB, free: 10.56 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.8496, allocations: 6.031 kB / 1.195 GB, free: 10.55 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.8496, allocations: 5.344 kB / 1.195 GB, free: 10.55 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.8496, allocations: 0 / 1.195 GB, free: 10.55 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002122/0.8499, allocations: 234 kB / 1.196 GB, free: 10.39 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.491e-05/0.8499, allocations: 31.77 kB / 1.196 GB, free: 10.37 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.8499, allocations: 3.359 kB / 1.196 GB, free: 10.37 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.8501, allocations: 11.14 kB / 1.196 GB, free: 10.36 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.042e-05/0.8501, allocations: 21.2 kB / 1.196 GB, free: 10.36 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.488e-05/0.8501, allocations: 12.7 kB / 1.196 GB, free: 10.35 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.00011/0.8502, allocations: 148.1 kB / 1.196 GB, free: 10.25 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.8502, allocations: 0.75 kB / 1.196 GB, free: 10.25 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003238/0.8506, allocations: 45.12 kB / 1.196 GB, free: 10.25 MB / 1.076 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.0003316/0.8509, allocations: 168.1 kB / 1.196 GB, free: 10.13 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003921/0.8513, allocations: 305.6 kB / 1.196 GB, free: 9.906 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.8513, allocations: 1.031 kB / 1.196 GB, free: 9.906 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.728e-05/0.8514, allocations: 46.36 kB / 1.196 GB, free: 9.895 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000449/0.8518, allocations: 67.52 kB / 1.196 GB, free: 9.871 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005644/0.8524, allocations: 323.7 kB / 1.197 GB, free: 9.656 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001047/0.8525, allocations: 120.2 kB / 1.197 GB, free: 9.574 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.797e-05/0.8526, allocations: 30.64 kB / 1.197 GB, free: 9.566 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.091e-05/0.8526, allocations: 27.53 kB / 1.197 GB, free: 9.555 MB / 1.076 GB Notification: Performance of SimCode: time 3.6e-07/0.8526, allocations: 3.938 kB / 1.197 GB, free: 9.551 MB / 1.076 GB Notification: Performance of Templates: time 0.008455/0.8611, allocations: 3.835 MB / 1.201 GB, free: 9.07 MB / 1.076 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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins1/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: 8.724895518971607]