Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001749/0.001749, allocations: 88.39 kB / 20.23 MB, free: 4.172 MB / 18.57 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.002185/0.002185, allocations: 161.3 kB / 23.55 MB, free: 0.8633 MB / 18.57 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.523/1.523, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.832/2.832, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.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_12_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_12_Buildings.Utilities.Plotters.Examples.TimeSeries") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.8108 GB, free: 2.156 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.61e-05/2.82e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.152 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003551/0.003579, allocations: 1.782 MB / 0.8125 GB, free: 380 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001481/0.00506, allocations: 0.6188 MB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.005162, allocations: 0 / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002159/0.005378, allocations: 27.67 kB / 0.8131 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004559/0.005834, allocations: 132.8 kB / 0.8133 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004529/0.006286, allocations: 159.6 kB / 0.8134 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003962/0.006683, allocations: 243.4 kB / 0.8136 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.006806, allocations: 23.27 kB / 0.8137 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002583/0.007064, allocations: 151.7 kB / 0.8138 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009918/0.01698, allocations: 1.625 MB / 0.8154 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 9.76e-05/0.01708, allocations: 16 kB / 0.8154 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.01724, allocations: 35.98 kB / 0.8155 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.01735, allocations: 48.92 kB / 0.8155 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001383/0.01748, allocations: 67.73 kB / 0.8156 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005241/0.01801, allocations: 243.2 kB / 0.8158 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.01801, allocations: 0.5625 kB / 0.8158 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.853e-06/0.01801, allocations: 0 / 0.8158 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.01802, allocations: 1 kB / 0.8158 GB, free: 13.67 MB / 0.7761 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.0009932/0.01902, allocations: 493.6 kB / 0.8163 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.01906, allocations: 15.97 kB / 0.8163 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001307/0.01919, allocations: 35.06 kB / 0.8163 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003956/0.01958, allocations: 185.6 kB / 0.8165 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.01961, allocations: 12.38 kB / 0.8165 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.772e-05/0.01966, allocations: 20.36 kB / 0.8165 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002396/0.0199, allocations: 102.2 kB / 0.8166 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.01991, allocations: 3.938 kB / 0.8166 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.01993, allocations: 8.531 kB / 0.8166 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.01993, allocations: 4.656 kB / 0.8166 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001472/0.02008, allocations: 55.97 kB / 0.8167 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009279/0.02101, allocations: 398 kB / 0.8171 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003064/0.02131, allocations: 95.33 kB / 0.8172 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.52e-05/0.02139, allocations: 37.67 kB / 0.8172 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/0.02142, allocations: 7.984 kB / 0.8172 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001947/0.02161, allocations: 107.9 kB / 0.8173 GB, free: 12 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.914e-06/0.02161, allocations: 0.8125 kB / 0.8173 GB, free: 12 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0004223/0.02204, allocations: 180.7 kB / 0.8175 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.02209, allocations: 60.33 kB / 0.8175 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002602/0.02235, allocations: 207.8 kB / 0.8177 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.662e-05/0.0224, allocations: 33.7 kB / 0.8178 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.02253, allocations: 133.7 kB / 0.8179 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.252e-05/0.02257, allocations: 35.69 kB / 0.8179 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.0227, allocations: 65.67 kB / 0.818 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001908/0.02289, allocations: 327.8 kB / 0.8183 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002582/0.02314, allocations: 123.3 kB / 0.8184 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003492/0.02349, allocations: 252.2 kB / 0.8187 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003596/0.02385, allocations: 213.3 kB / 0.8189 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.02386, allocations: 3.25 kB / 0.8189 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008246/0.02468, allocations: 415.1 kB / 0.8193 GB, free: 9.824 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.954e-05/0.02475, allocations: 63.39 kB / 0.8193 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.02476, allocations: 7.938 kB / 0.8193 GB, free: 9.742 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.02478, allocations: 0 / 0.8193 GB, free: 9.742 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.02488, allocations: 23.92 kB / 0.8194 GB, free: 9.719 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.02489, allocations: 1.094 kB / 0.8194 GB, free: 9.719 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.0251, allocations: 31.81 kB / 0.8194 GB, free: 9.688 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.894e-05/0.02513, allocations: 11.98 kB / 0.8194 GB, free: 9.676 MB / 0.7761 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.0001593/0.02529, allocations: 140.8 kB / 0.8195 GB, free: 9.531 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.173e-05/0.02534, allocations: 31.84 kB / 0.8196 GB, free: 9.5 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000276/0.02562, allocations: 148.4 kB / 0.8197 GB, free: 9.355 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.02562, allocations: 0 / 0.8197 GB, free: 9.355 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.02563, allocations: 0.5938 kB / 0.8197 GB, free: 9.355 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.02563, allocations: 3.938 kB / 0.8197 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006594/0.02629, allocations: 415.6 kB / 0.8201 GB, free: 8.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.02629, allocations: 0 / 0.8201 GB, free: 8.91 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.501e-05/0.02634, allocations: 7.938 kB / 0.8201 GB, free: 8.902 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.02635, allocations: 5.156 kB / 0.8201 GB, free: 8.898 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/0.02637, allocations: 11.92 kB / 0.8201 GB, free: 8.887 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.02637, allocations: 0 / 0.8201 GB, free: 8.887 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.02637, allocations: 1.094 kB / 0.8201 GB, free: 8.887 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003062/0.02668, allocations: 242.6 kB / 0.8204 GB, free: 8.637 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.752e-05/0.02675, allocations: 27.84 kB / 0.8204 GB, free: 8.609 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.818e-05/0.02678, allocations: 8.594 kB / 0.8204 GB, free: 8.602 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.0269, allocations: 7.984 kB / 0.8204 GB, free: 8.594 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.27e-05/0.02697, allocations: 20.91 kB / 0.8204 GB, free: 8.574 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.443e-05/0.027, allocations: 4 kB / 0.8204 GB, free: 8.57 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001593/0.02716, allocations: 150.6 kB / 0.8206 GB, free: 8.426 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.02716, allocations: 0 / 0.8206 GB, free: 8.426 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003409/0.0275, allocations: 47.94 kB / 0.8206 GB, free: 8.379 MB / 0.7761 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.0004861/0.02798, allocations: 182.6 kB / 0.8208 GB, free: 8.219 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005741/0.02856, allocations: 310 kB / 0.8211 GB, free: 7.879 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.02856, allocations: 4 kB / 0.8211 GB, free: 7.875 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.632e-05/0.02866, allocations: 43.92 kB / 0.8211 GB, free: 7.832 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000468/0.02913, allocations: 58.2 kB / 0.8212 GB, free: 7.781 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00076/0.02989, allocations: 333.7 kB / 0.8215 GB, free: 7.434 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001389/0.03003, allocations: 120.7 kB / 0.8216 GB, free: 7.297 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.746e-05/0.03012, allocations: 25.94 kB / 0.8216 GB, free: 7.273 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.076e-05/0.03019, allocations: 32.42 kB / 0.8217 GB, free: 7.242 MB / 0.7761 GB Notification: Performance of SimCode: time 4.71e-07/0.03019, allocations: 0 / 0.8217 GB, free: 7.242 MB / 0.7761 GB Notification: Performance of Templates: time 0.009411/0.03961, allocations: 3.847 MB / 0.8254 GB, free: 3.469 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.8004123559221625]