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.002419/0.002419, allocations: 88.05 kB / 19.44 MB, free: 316 kB / 13.93 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.002924/0.002924, allocations: 173.3 kB / 22.77 MB, free: 1.637 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.576/1.576, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 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 3.402/3.402, allocations: 429.5 MB / 0.6729 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.8774 GB, free: 6.699 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.035e-05/3.171e-05, allocations: 3.031 kB / 0.8774 GB, free: 6.695 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003593/0.003625, allocations: 1.801 MB / 0.8792 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001419/0.005043, allocations: 0.6204 MB / 0.8798 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.262e-05/0.005116, allocations: 3.938 kB / 0.8798 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001988/0.005315, allocations: 40.47 kB / 0.8798 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004036/0.005718, allocations: 119.9 kB / 0.8799 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003998/0.006118, allocations: 161.2 kB / 0.8801 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005367/0.006655, allocations: 243.4 kB / 0.8803 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.006783, allocations: 33.72 kB / 0.8803 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002262/0.007009, allocations: 143.7 kB / 0.8805 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01215/0.01916, allocations: 1.646 MB / 0.8821 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 9.99e-05/0.01926, allocations: 16 kB / 0.8821 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.0194, allocations: 39.92 kB / 0.8821 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.01951, allocations: 51.77 kB / 0.8822 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001474/0.01966, allocations: 59.81 kB / 0.8822 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005524/0.02021, allocations: 239.3 kB / 0.8825 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.02021, allocations: 0 / 0.8825 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.114e-06/0.02021, allocations: 4 kB / 0.8825 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.02022, allocations: 4 kB / 0.8825 GB, free: 2.121 MB / 0.8386 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.001056/0.02128, allocations: 0.5923 MB / 0.8831 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.02132, allocations: 8.031 kB / 0.8831 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.02143, allocations: 36.8 kB / 0.8831 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003971/0.02183, allocations: 192.5 kB / 0.8833 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.02185, allocations: 12.38 kB / 0.8833 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.121e-05/0.02189, allocations: 24.3 kB / 0.8833 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.02211, allocations: 98.08 kB / 0.8834 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.02213, allocations: 3.938 kB / 0.8834 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.02214, allocations: 4 kB / 0.8834 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.02215, allocations: 3.984 kB / 0.8834 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.02228, allocations: 51.97 kB / 0.8835 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.02329, allocations: 471.3 kB / 0.8839 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003132/0.0236, allocations: 115.1 kB / 0.884 GB, free: 412 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.204e-05/0.02368, allocations: 35.72 kB / 0.8841 GB, free: 372 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.02371, allocations: 4 kB / 0.8841 GB, free: 368 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001886/0.0239, allocations: 108.9 kB / 0.8842 GB, free: 244 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.272e-06/0.0239, allocations: 0 / 0.8842 GB, free: 244 kB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0003833/0.02428, allocations: 161.6 kB / 0.8843 GB, free: 76 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.9e-05/0.02434, allocations: 63.33 kB / 0.8844 GB, free: 0 / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003395/0.02468, allocations: 290.6 kB / 0.8847 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.156e-05/0.02472, allocations: 33.7 kB / 0.8847 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/0.02488, allocations: 183.3 kB / 0.8849 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.439e-05/0.02493, allocations: 47.67 kB / 0.8849 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.02507, allocations: 75.33 kB / 0.885 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000287/0.02536, allocations: 0.504 MB / 0.8855 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.02559, allocations: 119.3 kB / 0.8856 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003582/0.02595, allocations: 267.8 kB / 0.8859 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003505/0.0263, allocations: 227.7 kB / 0.8861 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.02631, allocations: 4.031 kB / 0.8861 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007393/0.02704, allocations: 396.1 kB / 0.8865 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.805e-05/0.02711, allocations: 63.39 kB / 0.8865 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.02712, allocations: 4 kB / 0.8865 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.02713, allocations: 0 / 0.8865 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.02725, allocations: 27.92 kB / 0.8865 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.02726, allocations: 4 kB / 0.8865 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.02746, allocations: 35.92 kB / 0.8866 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-05/0.0275, allocations: 15.98 kB / 0.8866 GB, free: 13.53 MB / 0.8542 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.000174/0.02767, allocations: 182.5 kB / 0.8868 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.322e-05/0.02772, allocations: 23.91 kB / 0.8868 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002803/0.028, allocations: 145.7 kB / 0.8869 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.028, allocations: 4 kB / 0.8869 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.028, allocations: 0 / 0.8869 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.02801, allocations: 7.922 kB / 0.8869 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006944/0.02871, allocations: 473.2 kB / 0.8874 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.02871, allocations: 4 kB / 0.8874 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.163e-05/0.02875, allocations: 8 kB / 0.8874 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.02875, allocations: 0 / 0.8874 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.02877, allocations: 15.94 kB / 0.8874 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.02877, allocations: 0 / 0.8874 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.02878, allocations: 3.984 kB / 0.8874 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003476/0.02912, allocations: 290 kB / 0.8877 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.869e-05/0.02919, allocations: 31.81 kB / 0.8877 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.7e-05/0.02923, allocations: 7.875 kB / 0.8877 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.02934, allocations: 11.98 kB / 0.8877 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.789e-05/0.02941, allocations: 15.97 kB / 0.8878 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-05/0.02944, allocations: 16 kB / 0.8878 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001876/0.02962, allocations: 189.4 kB / 0.888 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.02962, allocations: 0 / 0.888 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003071/0.02993, allocations: 47.95 kB / 0.888 GB, free: 12.02 MB / 0.8542 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.0005351/0.03047, allocations: 170.5 kB / 0.8882 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005293/0.03099, allocations: 318.7 kB / 0.8885 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.031, allocations: 4 kB / 0.8885 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.03112, allocations: 63.59 kB / 0.8885 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004572/0.03157, allocations: 62.92 kB / 0.8886 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007223/0.0323, allocations: 322.9 kB / 0.8889 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001313/0.03243, allocations: 112.2 kB / 0.889 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.543e-05/0.03251, allocations: 30.02 kB / 0.889 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.317e-05/0.03258, allocations: 28.5 kB / 0.8891 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of SimCode: time 4.91e-07/0.03258, allocations: 0 / 0.8891 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of Templates: time 0.009052/0.04163, allocations: 3.842 MB / 0.8928 GB, free: 7.074 MB / 0.8542 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) [Timeout 240] 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: 8.661776363034733]