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.0007629/0.0007629, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009765/0.001739, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006932/0.0006932, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008967/0.00159, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.9791/0.9791, allocations: 177.2 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1004/1.079, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.83/1.83, allocations: 378.2 MB / 0.6076 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4621/2.292, allocations: 123.3 MB / 0.728 GB, free: 5.824 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[0-9,]+.|timSer1.y.[0-9,]+.",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.[0-9,]+.|timSer1.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.542e-06/1.542e-06, allocations: 0.6562 kB / 0.7293 GB, free: 4.574 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.207e-05/2.361e-05, allocations: 7.156 kB / 0.7293 GB, free: 4.566 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002759/0.002782, allocations: 1.876 MB / 0.7311 GB, free: 2.703 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.003793, allocations: 0.6418 MB / 0.7317 GB, free: 2.062 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.311e-05/0.003866, allocations: 4.688 kB / 0.7318 GB, free: 2.059 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001175/0.003983, allocations: 29.36 kB / 0.7318 GB, free: 2.031 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002143/0.004198, allocations: 113.7 kB / 0.7319 GB, free: 1.93 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.004454, allocations: 174.5 kB / 0.7321 GB, free: 1.762 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002998/0.004754, allocations: 245.9 kB / 0.7323 GB, free: 1.531 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.004859, allocations: 31.88 kB / 0.7323 GB, free: 1.5 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007957/0.01282, allocations: 3.214 MB / 0.7355 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001766/0.01299, allocations: 95.8 kB / 0.7355 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.311e-05/0.01303, allocations: 16 kB / 0.7356 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.868e-05/0.01312, allocations: 39.86 kB / 0.7356 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.381e-05/0.01318, allocations: 25.16 kB / 0.7356 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.501e-05/0.01325, allocations: 43.88 kB / 0.7357 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003651/0.01362, allocations: 159.4 kB / 0.7358 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.755e-05/0.01364, allocations: 0 / 0.7358 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.823e-06/0.01364, allocations: 2.062 kB / 0.7358 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.641e-05/0.01365, allocations: 3.938 kB / 0.7358 GB, free: 15.16 MB / 0.7136 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.0007308/0.01438, allocations: 495 kB / 0.7363 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.01443, allocations: 12.78 kB / 0.7363 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.671e-05/0.01448, allocations: 24.91 kB / 0.7363 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.01472, allocations: 188.5 kB / 0.7365 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.01474, allocations: 12.38 kB / 0.7365 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.01476, allocations: 20.97 kB / 0.7365 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.01489, allocations: 80.12 kB / 0.7366 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.0149, allocations: 3.938 kB / 0.7366 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.01492, allocations: 4 kB / 0.7366 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.01492, allocations: 4 kB / 0.7366 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.224e-05/0.01497, allocations: 27.78 kB / 0.7367 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005327/0.01551, allocations: 289 kB / 0.7369 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003945/0.0159, allocations: 75.08 kB / 0.737 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.593e-05/0.01593, allocations: 12.86 kB / 0.737 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/0.01596, allocations: 8.609 kB / 0.737 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001328/0.01609, allocations: 80.39 kB / 0.7371 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 2.094e-06/0.01609, allocations: 0 / 0.7371 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0002167/0.01631, allocations: 112.8 kB / 0.7372 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.01636, allocations: 57.47 kB / 0.7373 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.0165, allocations: 199.4 kB / 0.7375 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/0.01653, allocations: 33.7 kB / 0.7375 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.01663, allocations: 112.5 kB / 0.7376 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.01666, allocations: 39.69 kB / 0.7376 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.645e-05/0.01673, allocations: 68.39 kB / 0.7377 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.148e-05/0.01681, allocations: 334.7 kB / 0.738 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.01692, allocations: 100.1 kB / 0.7381 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.01704, allocations: 210.3 kB / 0.7383 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.01722, allocations: 175.6 kB / 0.7385 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.01722, allocations: 4 kB / 0.7385 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002093/0.01743, allocations: 275.8 kB / 0.7387 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.36e-05/0.01748, allocations: 67.39 kB / 0.7388 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.01749, allocations: 0 / 0.7388 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.0175, allocations: 4 kB / 0.7388 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.303e-05/0.01758, allocations: 27.98 kB / 0.7388 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.01759, allocations: 3.984 kB / 0.7388 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.19e-05/0.01767, allocations: 35.81 kB / 0.7389 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.01768, allocations: 8 kB / 0.7389 GB, free: 11.73 MB / 0.7136 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.014e-05/0.01777, allocations: 145 kB / 0.739 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.842e-05/0.01779, allocations: 15.98 kB / 0.739 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.01792, allocations: 99.33 kB / 0.7391 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.01793, allocations: 4 kB / 0.7391 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.01793, allocations: 0 / 0.7391 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.01793, allocations: 0 / 0.7391 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002958/0.01823, allocations: 303.6 kB / 0.7394 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.01823, allocations: 0 / 0.7394 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.151e-05/0.01826, allocations: 12.86 kB / 0.7394 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.118e-05/0.0183, allocations: 15.91 kB / 0.7395 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.01831, allocations: 1.156 kB / 0.7395 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.01832, allocations: 11.98 kB / 0.7395 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.01832, allocations: 3.938 kB / 0.7395 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.01833, allocations: 3.969 kB / 0.7395 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/0.01847, allocations: 183.4 kB / 0.7397 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.01848, allocations: 0 / 0.7397 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.023e-05/0.01853, allocations: 7.984 kB / 0.7397 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/0.01858, allocations: 23.91 kB / 0.7397 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.01859, allocations: 4 kB / 0.7397 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.186e-05/0.01864, allocations: 59.08 kB / 0.7397 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.01864, allocations: 0 / 0.7397 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001725/0.01881, allocations: 36 kB / 0.7398 GB, free: 10.77 MB / 0.7136 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.000389/0.0192, allocations: 183.2 kB / 0.74 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003077/0.01951, allocations: 272 kB / 0.7402 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.01951, allocations: 5 kB / 0.7402 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.427e-05/0.01956, allocations: 40.77 kB / 0.7403 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.01978, allocations: 69.2 kB / 0.7403 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000627/0.02041, allocations: 317.2 kB / 0.7406 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.619e-05/0.02046, allocations: 79.92 kB / 0.7407 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.095e-05/0.02052, allocations: 30 kB / 0.7407 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.02066, allocations: 106.4 kB / 0.7408 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of SimCode: time 8.42e-07/0.02066, allocations: 0 / 0.7408 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of Templates: time 0.005988/0.02664, allocations: 3.891 MB / 0.7446 GB, free: 5.961 MB / 0.7136 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries/Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.925859164446592]