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.001336/0.001336, allocations: 77.86 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.001446/0.001446, allocations: 156 kB / 23.01 MB, free: 4.945 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.482/1.482, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.785/2.785, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002366/0.002366, allocations: 59.91 kB / 0.9819 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.824/0.8264, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002515/0.8289, allocations: 1.771 MB / 1.156 GB, free: 32.13 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0009582/0.8298, allocations: 0.6106 MB / 1.156 GB, free: 31.74 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.289e-05/0.8299, allocations: 6.938 kB / 1.156 GB, free: 31.74 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001604/0.8301, allocations: 30.25 kB / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003092/0.8304, allocations: 125.2 kB / 1.156 GB, free: 31.65 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000299/0.8307, allocations: 157.8 kB / 1.157 GB, free: 31.57 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002338/0.8309, allocations: 250.3 kB / 1.157 GB, free: 31.46 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.831, allocations: 23.39 kB / 1.157 GB, free: 31.45 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.8311, allocations: 117.1 kB / 1.157 GB, free: 31.4 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00778/0.8389, allocations: 1.037 MB / 1.158 GB, free: 31.11 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.062e-05/0.839, allocations: 18.69 kB / 1.158 GB, free: 31.11 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 9.869e-05/0.8391, allocations: 30.62 kB / 1.158 GB, free: 31.11 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.47e-05/0.8391, allocations: 53.09 kB / 1.158 GB, free: 31.07 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 9.049e-05/0.8392, allocations: 73.12 kB / 1.158 GB, free: 31.04 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000311/0.8395, allocations: 224.3 kB / 1.158 GB, free: 30.95 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.8395, allocations: 4 kB / 1.158 GB, free: 30.94 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8395, allocations: 0 / 1.158 GB, free: 30.94 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.8396, allocations: 2.562 kB / 1.158 GB, free: 30.94 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.0006515/0.8402, allocations: 0.4977 MB / 1.159 GB, free: 30.51 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.8402, allocations: 8.875 kB / 1.159 GB, free: 30.51 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.608e-05/0.8403, allocations: 23.98 kB / 1.159 GB, free: 30.5 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.8406, allocations: 191.5 kB / 1.159 GB, free: 30.34 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.8406, allocations: 10.28 kB / 1.159 GB, free: 30.33 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.009e-05/0.8406, allocations: 23.31 kB / 1.159 GB, free: 30.32 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.8408, allocations: 107.7 kB / 1.159 GB, free: 30.27 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.8408, allocations: 3.938 kB / 1.159 GB, free: 30.26 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.8408, allocations: 3.328 kB / 1.159 GB, free: 30.26 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.8408, allocations: 2.875 kB / 1.159 GB, free: 30.26 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.8409, allocations: 58.09 kB / 1.159 GB, free: 30.24 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006857/0.8416, allocations: 401.7 kB / 1.16 GB, free: 29.96 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002463/0.8419, allocations: 100.1 kB / 1.16 GB, free: 29.91 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.098e-05/0.8419, allocations: 36.05 kB / 1.16 GB, free: 29.89 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.842, allocations: 2.969 kB / 1.16 GB, free: 29.89 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001329/0.8421, allocations: 102.3 kB / 1.16 GB, free: 29.83 MB / 1.076 GB Notification: Performance of pre-optimization done (n=16): time 1.623e-06/0.8421, allocations: 0 / 1.16 GB, free: 29.83 MB / 1.076 GB Notification: Performance of matching and sorting (n=16): time 0.0003045/0.8424, allocations: 178.2 kB / 1.16 GB, free: 29.75 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/0.8424, allocations: 61.95 kB / 1.16 GB, free: 29.68 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.8426, allocations: 202.6 kB / 1.16 GB, free: 29.54 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.8426, allocations: 39.23 kB / 1.16 GB, free: 29.5 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.377e-05/0.8427, allocations: 131.4 kB / 1.16 GB, free: 29.38 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.8427, allocations: 37.09 kB / 1.16 GB, free: 29.36 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.183e-05/0.8428, allocations: 62.27 kB / 1.16 GB, free: 29.32 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.695e-05/0.8428, allocations: 331.2 kB / 1.161 GB, free: 29 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001657/0.843, allocations: 127.3 kB / 1.161 GB, free: 28.92 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002107/0.8432, allocations: 244.9 kB / 1.161 GB, free: 28.7 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002267/0.8434, allocations: 212.9 kB / 1.161 GB, free: 28.54 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.8434, allocations: 3.375 kB / 1.161 GB, free: 28.54 MB / 1.076 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005226/0.8439, allocations: 396.8 kB / 1.162 GB, free: 28.3 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.402e-05/0.844, allocations: 63.47 kB / 1.162 GB, free: 28.24 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.844, allocations: 0 / 1.162 GB, free: 28.24 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.844, allocations: 6.656 kB / 1.162 GB, free: 28.24 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.255e-05/0.8441, allocations: 21.88 kB / 1.162 GB, free: 28.23 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.8441, allocations: 2.625 kB / 1.162 GB, free: 28.23 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.8443, allocations: 30.98 kB / 1.162 GB, free: 28.22 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/0.8443, allocations: 15.53 kB / 1.162 GB, free: 28.21 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 9.583e-05/0.8444, allocations: 140 kB / 1.162 GB, free: 28.09 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.8444, allocations: 24.2 kB / 1.162 GB, free: 28.07 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002049/0.8446, allocations: 149.9 kB / 1.162 GB, free: 27.99 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/0.8446, allocations: 6.906 kB / 1.162 GB, free: 27.99 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.8446, allocations: 0 / 1.162 GB, free: 27.99 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.8446, allocations: 0 / 1.162 GB, free: 27.99 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004358/0.8451, allocations: 410.8 kB / 1.163 GB, free: 27.7 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.8451, allocations: 7.938 kB / 1.163 GB, free: 27.69 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.946e-05/0.8451, allocations: 9.344 kB / 1.163 GB, free: 27.69 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.8451, allocations: 3.938 kB / 1.163 GB, free: 27.68 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.8451, allocations: 6.938 kB / 1.163 GB, free: 27.68 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.8451, allocations: 3.984 kB / 1.163 GB, free: 27.68 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.8451, allocations: 0 / 1.163 GB, free: 27.68 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001818/0.8453, allocations: 244.7 kB / 1.163 GB, free: 27.5 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.031e-05/0.8454, allocations: 28 kB / 1.163 GB, free: 27.49 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.8454, allocations: 10.23 kB / 1.163 GB, free: 27.48 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.8455, allocations: 2.594 kB / 1.163 GB, free: 27.48 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.039e-05/0.8456, allocations: 26.09 kB / 1.163 GB, free: 27.48 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.8456, allocations: 9.406 kB / 1.163 GB, free: 27.47 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9.327e-05/0.8457, allocations: 147.8 kB / 1.163 GB, free: 27.38 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.8457, allocations: 3.938 kB / 1.163 GB, free: 27.38 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003174/0.846, allocations: 48.7 kB / 1.163 GB, free: 27.36 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.0003292/0.8463, allocations: 159.4 kB / 1.163 GB, free: 27.25 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003468/0.8467, allocations: 309.2 kB / 1.164 GB, free: 27.03 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8467, allocations: 0 / 1.164 GB, free: 27.03 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 7.681e-05/0.8467, allocations: 52.06 kB / 1.164 GB, free: 27.02 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.8472, allocations: 70.92 kB / 1.164 GB, free: 26.99 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000556/0.8477, allocations: 326.7 kB / 1.164 GB, free: 26.78 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.742e-05/0.8478, allocations: 107.6 kB / 1.164 GB, free: 26.7 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.764e-05/0.8479, allocations: 35.66 kB / 1.164 GB, free: 26.69 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.032e-05/0.8479, allocations: 25.92 kB / 1.164 GB, free: 26.68 MB / 1.076 GB Notification: Performance of SimCode: time 4.51e-07/0.8479, allocations: 0 / 1.164 GB, free: 26.68 MB / 1.076 GB Notification: Performance of Templates: time 0.007184/0.8551, allocations: 3.825 MB / 1.168 GB, free: 26.21 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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.715043040923774]