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.001351/0.001351, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001179/0.001179, allocations: 173.3 kB / 23.49 MB, free: 1.062 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 0.9711/0.9711, allocations: 177.1 MB / 203.8 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] 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 2.078/2.078, allocations: 429.5 MB / 0.6736 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 177] 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.[0-9,]+.|timSer1.y.[0-9,]+.",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.[0-9,]+.|timSer1.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.634e-06/1.634e-06, allocations: 0 / 0.8781 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.537e-05/2.7e-05, allocations: 10.17 kB / 0.8781 GB, free: 6.676 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002444/0.002471, allocations: 1.832 MB / 0.8799 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009557/0.003427, allocations: 0.6379 MB / 0.8806 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.003527, allocations: 0 / 0.8806 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001825/0.00371, allocations: 23.72 kB / 0.8806 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003726/0.004082, allocations: 136.8 kB / 0.8807 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003507/0.004433, allocations: 159.6 kB / 0.8809 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002606/0.004694, allocations: 243.4 kB / 0.8811 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.004808, allocations: 24.42 kB / 0.8811 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.004955, allocations: 147.7 kB / 0.8813 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004995/0.00995, allocations: 1.625 MB / 0.8828 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 8.014e-05/0.01003, allocations: 17.34 kB / 0.8829 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.01016, allocations: 35.94 kB / 0.8829 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.668e-05/0.01023, allocations: 43.83 kB / 0.8829 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.01034, allocations: 67.8 kB / 0.883 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004505/0.01079, allocations: 203.2 kB / 0.8832 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.0108, allocations: 0 / 0.8832 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.445e-06/0.0108, allocations: 0 / 0.8832 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.01081, allocations: 0 / 0.8832 GB, free: 2.117 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.0009104/0.01172, allocations: 0.5885 MB / 0.8838 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.01177, allocations: 8.031 kB / 0.8838 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.01188, allocations: 36.78 kB / 0.8838 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003201/0.0122, allocations: 209.1 kB / 0.884 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.01222, allocations: 12.38 kB / 0.884 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/0.01225, allocations: 16.38 kB / 0.884 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.01244, allocations: 90 kB / 0.8841 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.01245, allocations: 3.938 kB / 0.8841 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.887e-05/0.01247, allocations: 12 kB / 0.8841 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.01248, allocations: 0 / 0.8841 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.384e-05/0.01257, allocations: 39.91 kB / 0.8842 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007901/0.01336, allocations: 443.4 kB / 0.8846 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002526/0.01361, allocations: 95.14 kB / 0.8847 GB, free: 464 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.36e-05/0.01365, allocations: 27.67 kB / 0.8847 GB, free: 432 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.01368, allocations: 0 / 0.8847 GB, free: 432 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001221/0.0138, allocations: 93.03 kB / 0.8848 GB, free: 324 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.903e-06/0.0138, allocations: 3.938 kB / 0.8848 GB, free: 320 kB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0002973/0.0141, allocations: 152.1 kB / 0.885 GB, free: 164 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.01414, allocations: 55.41 kB / 0.885 GB, free: 96 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.01433, allocations: 258.7 kB / 0.8853 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.01437, allocations: 37.69 kB / 0.8853 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.989e-05/0.01446, allocations: 171.3 kB / 0.8855 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/0.01449, allocations: 47.61 kB / 0.8855 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.949e-05/0.01457, allocations: 63.34 kB / 0.8856 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.0147, allocations: 0.504 MB / 0.8861 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.01487, allocations: 103.3 kB / 0.8862 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.01504, allocations: 239.7 kB / 0.8864 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.01523, allocations: 208.2 kB / 0.8866 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.01524, allocations: 0 / 0.8866 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003995/0.01564, allocations: 348.1 kB / 0.8869 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.221e-05/0.0157, allocations: 67.39 kB / 0.887 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.01571, allocations: 0 / 0.887 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.01573, allocations: 4 kB / 0.887 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.01585, allocations: 31.92 kB / 0.887 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.01586, allocations: 8.156 kB / 0.887 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/0.01603, allocations: 23.83 kB / 0.887 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/0.01606, allocations: 19.98 kB / 0.8871 GB, free: 13.79 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.0001336/0.01619, allocations: 178.5 kB / 0.8872 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.697e-05/0.01623, allocations: 23.84 kB / 0.8873 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002425/0.01647, allocations: 127.5 kB / 0.8874 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.01647, allocations: 0 / 0.8874 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.01648, allocations: 0 / 0.8874 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.01648, allocations: 3.938 kB / 0.8874 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005898/0.01707, allocations: 461.1 kB / 0.8878 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.01708, allocations: 0 / 0.8878 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.006e-05/0.01713, allocations: 4 kB / 0.8878 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.01713, allocations: 4 kB / 0.8878 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.01715, allocations: 3.938 kB / 0.8878 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.01715, allocations: 3.938 kB / 0.8878 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.01715, allocations: 0 / 0.8878 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.01742, allocations: 282 kB / 0.8881 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.44e-05/0.01748, allocations: 35.81 kB / 0.8881 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.01751, allocations: 3.938 kB / 0.8881 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.316e-05/0.0176, allocations: 19.98 kB / 0.8882 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.973e-05/0.01766, allocations: 7.984 kB / 0.8882 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.01768, allocations: 11.98 kB / 0.8882 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001007/0.01778, allocations: 177.4 kB / 0.8883 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01778, allocations: 0 / 0.8883 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002355/0.01802, allocations: 51.89 kB / 0.8884 GB, free: 12.34 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.000384/0.0184, allocations: 165.5 kB / 0.8886 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003081/0.01871, allocations: 289.7 kB / 0.8888 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.01871, allocations: 320 / 0.8888 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.257e-05/0.01877, allocations: 51.59 kB / 0.8889 GB, free: 11.81 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.01909, allocations: 80.17 kB / 0.889 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006988/0.01979, allocations: 299 kB / 0.8892 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.658e-05/0.01985, allocations: 75.84 kB / 0.8893 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001081/0.01996, allocations: 29.92 kB / 0.8893 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.68e-05/0.02004, allocations: 32.42 kB / 0.8894 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of SimCode: time 1.673e-06/0.02004, allocations: 4 kB / 0.8894 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of Templates: time 0.008159/0.0282, allocations: 3.842 MB / 0.8931 GB, free: 7.484 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.5048397541977465]