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.002418/0.002418, allocations: 83.69 kB / 20.23 MB, free: 4.184 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.001922/0.001922, allocations: 161.7 kB / 23.55 MB, free: 0.8672 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.534/1.534, allocations: 177.1 MB / 203.9 MB, free: 5.629 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 3.026/3.026, allocations: 377.8 MB / 0.6232 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 176] 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 1.453e-06/1.453e-06, allocations: 0 / 0.8108 GB, free: 2.176 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.527e-05/2.672e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.172 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003592/0.003619, allocations: 1.817 MB / 0.8125 GB, free: 372 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001474/0.005092, allocations: 0.6067 MB / 0.8131 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.005201, allocations: 3.938 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002182/0.005419, allocations: 41.06 kB / 0.8132 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004604/0.00588, allocations: 119.4 kB / 0.8133 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004609/0.006341, allocations: 165.1 kB / 0.8134 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003986/0.006739, allocations: 251.3 kB / 0.8137 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.006867, allocations: 29.78 kB / 0.8137 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002753/0.007143, allocations: 135.8 kB / 0.8138 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0122/0.01934, allocations: 1.637 MB / 0.8154 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.01944, allocations: 20 kB / 0.8155 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.01957, allocations: 36.66 kB / 0.8155 GB, free: 14 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.164e-05/0.01966, allocations: 47.77 kB / 0.8155 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.0198, allocations: 65.09 kB / 0.8156 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005307/0.02033, allocations: 239.2 kB / 0.8158 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.02033, allocations: 4 kB / 0.8158 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.292e-06/0.02034, allocations: 1.906 kB / 0.8158 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.02034, allocations: 0 / 0.8158 GB, free: 13.65 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.001053/0.0214, allocations: 0.5923 MB / 0.8164 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.02144, allocations: 13.44 kB / 0.8164 GB, free: 13 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.02156, allocations: 28.8 kB / 0.8165 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000404/0.02196, allocations: 198 kB / 0.8166 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.02198, allocations: 16.38 kB / 0.8167 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.013e-05/0.02202, allocations: 16.94 kB / 0.8167 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002215/0.02225, allocations: 98.77 kB / 0.8168 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.02226, allocations: 3.938 kB / 0.8168 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.02227, allocations: 1.344 kB / 0.8168 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/0.02228, allocations: 4 kB / 0.8168 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/0.02242, allocations: 51.97 kB / 0.8168 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.02344, allocations: 474.4 kB / 0.8173 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003241/0.02377, allocations: 111.2 kB / 0.8174 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.605e-05/0.02384, allocations: 35.67 kB / 0.8174 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.613e-05/0.02388, allocations: 0 / 0.8174 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001971/0.02407, allocations: 109.5 kB / 0.8175 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.192e-06/0.02408, allocations: 0.7188 kB / 0.8175 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0004076/0.02448, allocations: 174.2 kB / 0.8177 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.02453, allocations: 55.41 kB / 0.8177 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003273/0.02486, allocations: 290.6 kB / 0.818 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.562e-05/0.02491, allocations: 37.69 kB / 0.8181 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.02506, allocations: 176.1 kB / 0.8182 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.488e-05/0.02511, allocations: 47.67 kB / 0.8183 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/0.02525, allocations: 72.28 kB / 0.8183 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002758/0.02552, allocations: 0.5118 MB / 0.8188 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002368/0.02576, allocations: 115.3 kB / 0.8189 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003624/0.02612, allocations: 265.2 kB / 0.8192 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003585/0.02648, allocations: 239.3 kB / 0.8194 GB, free: 9.656 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.02648, allocations: 4 kB / 0.8194 GB, free: 9.652 MB / 0.7761 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007634/0.02725, allocations: 392 kB / 0.8198 GB, free: 9.238 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.917e-05/0.02731, allocations: 63.39 kB / 0.8199 GB, free: 9.164 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.02732, allocations: 7.438 kB / 0.8199 GB, free: 9.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.02734, allocations: 0 / 0.8199 GB, free: 9.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.02746, allocations: 23.98 kB / 0.8199 GB, free: 9.137 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/0.02747, allocations: 7.938 kB / 0.8199 GB, free: 9.129 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.02767, allocations: 27.83 kB / 0.8199 GB, free: 9.102 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.274e-05/0.02772, allocations: 15.98 kB / 0.8199 GB, free: 9.086 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.0001736/0.0279, allocations: 174.6 kB / 0.8201 GB, free: 8.906 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.248e-05/0.02795, allocations: 31.84 kB / 0.8201 GB, free: 8.875 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002736/0.02822, allocations: 144 kB / 0.8203 GB, free: 8.734 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.02823, allocations: 4 kB / 0.8203 GB, free: 8.73 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.02823, allocations: 0.5 kB / 0.8203 GB, free: 8.73 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.02824, allocations: 4.969 kB / 0.8203 GB, free: 8.727 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007334/0.02897, allocations: 477.2 kB / 0.8207 GB, free: 8.219 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.02897, allocations: 1 kB / 0.8207 GB, free: 8.219 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.755e-05/0.02902, allocations: 7.984 kB / 0.8208 GB, free: 8.211 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.02902, allocations: 0.5312 kB / 0.8208 GB, free: 8.211 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.02904, allocations: 11.94 kB / 0.8208 GB, free: 8.199 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.02904, allocations: 0.5 kB / 0.8208 GB, free: 8.199 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.02905, allocations: 0.5 kB / 0.8208 GB, free: 8.199 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003472/0.02939, allocations: 296.1 kB / 0.821 GB, free: 7.895 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.375e-05/0.02947, allocations: 35.78 kB / 0.8211 GB, free: 7.859 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.357e-05/0.0295, allocations: 7.938 kB / 0.8211 GB, free: 7.852 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.02961, allocations: 11.98 kB / 0.8211 GB, free: 7.84 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.6e-05/0.02969, allocations: 16.53 kB / 0.8211 GB, free: 7.824 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.721e-05/0.02972, allocations: 8.781 kB / 0.8211 GB, free: 7.816 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001844/0.0299, allocations: 189.4 kB / 0.8213 GB, free: 7.633 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.0299, allocations: 1.094 kB / 0.8213 GB, free: 7.633 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003243/0.03022, allocations: 47.98 kB / 0.8214 GB, free: 7.586 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.0005694/0.03079, allocations: 171.4 kB / 0.8215 GB, free: 7.438 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005385/0.03133, allocations: 331.6 kB / 0.8218 GB, free: 7.078 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.03134, allocations: 0 / 0.8218 GB, free: 7.078 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.03145, allocations: 55.61 kB / 0.8219 GB, free: 7.02 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004603/0.03191, allocations: 64.47 kB / 0.8219 GB, free: 6.961 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000756/0.03267, allocations: 325.5 kB / 0.8223 GB, free: 6.613 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001367/0.0328, allocations: 124.8 kB / 0.8224 GB, free: 6.477 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.855e-05/0.0329, allocations: 33.86 kB / 0.8224 GB, free: 6.445 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.103e-05/0.03297, allocations: 24.48 kB / 0.8224 GB, free: 6.422 MB / 0.7761 GB Notification: Performance of SimCode: time 5.51e-07/0.03297, allocations: 0 / 0.8224 GB, free: 6.422 MB / 0.7761 GB Notification: Performance of Templates: time 0.009603/0.04258, allocations: 3.84 MB / 0.8262 GB, free: 2.652 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) [Timeout 240] 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: 8.154501564917155]