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.001025/0.001025, allocations: 93.16 kB / 19.65 MB, free: 288 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.001095/0.001095, allocations: 168.9 kB / 23.01 MB, free: 1.562 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.9704/0.9704, allocations: 177.1 MB / 203.4 MB, free: 5.102 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.126/2.126, allocations: 429.5 MB / 0.6733 GB, free: 4.047 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 2.214e-06/2.214e-06, allocations: 0 / 0.8781 GB, free: 6.363 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.844e-05/3.066e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.359 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002652/0.002683, allocations: 1.839 MB / 0.8799 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009295/0.003612, allocations: 0.6334 MB / 0.8805 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.413e-05/0.003686, allocations: 7.938 kB / 0.8805 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001851/0.003871, allocations: 24.52 kB / 0.8806 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003665/0.004238, allocations: 128.2 kB / 0.8807 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003161/0.004554, allocations: 159.6 kB / 0.8808 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002565/0.00481, allocations: 240.5 kB / 0.8811 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.004928, allocations: 26.12 kB / 0.8811 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.005084, allocations: 152.7 kB / 0.8812 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004669/0.009753, allocations: 1.64 MB / 0.8828 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.635e-05/0.009799, allocations: 16 kB / 0.8829 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.144e-05/0.009891, allocations: 39.92 kB / 0.8829 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.903e-05/0.00995, allocations: 43.83 kB / 0.8829 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.629e-05/0.01003, allocations: 63.81 kB / 0.883 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003142/0.01034, allocations: 195.3 kB / 0.8832 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.01034, allocations: 4 kB / 0.8832 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.272e-06/0.01035, allocations: 0.625 kB / 0.8832 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.01035, allocations: 0 / 0.8832 GB, free: 1.789 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.0006145/0.01097, allocations: 0.5905 MB / 0.8838 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.98e-05/0.01099, allocations: 8.031 kB / 0.8838 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.77e-05/0.01106, allocations: 36.8 kB / 0.8838 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.01131, allocations: 210.7 kB / 0.884 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.01132, allocations: 8.375 kB / 0.884 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.742e-05/0.01135, allocations: 20.31 kB / 0.884 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.01149, allocations: 89.92 kB / 0.8841 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.0115, allocations: 3.938 kB / 0.8841 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.01151, allocations: 4 kB / 0.8841 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.01152, allocations: 4 kB / 0.8841 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.791e-05/0.01158, allocations: 31.97 kB / 0.8842 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005818/0.01217, allocations: 459.2 kB / 0.8846 GB, free: 232 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/0.01237, allocations: 83.19 kB / 0.8847 GB, free: 136 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.043e-05/0.01241, allocations: 31.66 kB / 0.8847 GB, free: 100 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.01243, allocations: 4 kB / 0.8847 GB, free: 96 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001197/0.01255, allocations: 89.09 kB / 0.8848 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 3.026e-06/0.01255, allocations: 3.984 kB / 0.8848 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0002439/0.01279, allocations: 149.5 kB / 0.8849 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.01282, allocations: 63.34 kB / 0.885 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.013, allocations: 258.7 kB / 0.8853 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.01302, allocations: 33.7 kB / 0.8853 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.011e-05/0.0131, allocations: 171.3 kB / 0.8855 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.01313, allocations: 47.53 kB / 0.8855 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.229e-05/0.0132, allocations: 67.33 kB / 0.8856 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.01332, allocations: 0.5001 MB / 0.886 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.01345, allocations: 99.34 kB / 0.8861 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.0136, allocations: 239.9 kB / 0.8864 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.01377, allocations: 201.1 kB / 0.8866 GB, free: 14 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.01377, allocations: 0 / 0.8866 GB, free: 14 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003937/0.01417, allocations: 344.1 kB / 0.8869 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.301e-05/0.01421, allocations: 71.38 kB / 0.887 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.01422, allocations: 4 kB / 0.887 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.01423, allocations: 160 / 0.887 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.213e-05/0.0143, allocations: 35.92 kB / 0.887 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.01431, allocations: 4 kB / 0.887 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.372e-05/0.0144, allocations: 27.84 kB / 0.887 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.01442, allocations: 11.98 kB / 0.887 GB, free: 13.47 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 9.379e-05/0.01452, allocations: 178.5 kB / 0.8872 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.049e-05/0.01454, allocations: 23.89 kB / 0.8872 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001673/0.0147, allocations: 133.9 kB / 0.8874 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.01471, allocations: 0 / 0.8874 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.01471, allocations: 4 kB / 0.8874 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.01471, allocations: 7.938 kB / 0.8874 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003536/0.01507, allocations: 453.1 kB / 0.8878 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01507, allocations: 0 / 0.8878 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.723e-05/0.0151, allocations: 11.98 kB / 0.8878 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.0151, allocations: 0 / 0.8878 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.01511, allocations: 7.938 kB / 0.8878 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.01511, allocations: 4 kB / 0.8878 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.01511, allocations: 0 / 0.8878 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.01527, allocations: 273.9 kB / 0.8881 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.601e-05/0.01531, allocations: 27.83 kB / 0.8881 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.01533, allocations: 11.94 kB / 0.8881 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.246e-05/0.01538, allocations: 15.92 kB / 0.8881 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.01543, allocations: 11.97 kB / 0.8882 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.01544, allocations: 12 kB / 0.8882 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.281e-05/0.01553, allocations: 181.4 kB / 0.8883 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01553, allocations: 0 / 0.8883 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002153/0.01574, allocations: 51.88 kB / 0.8884 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.0002997/0.01604, allocations: 168.4 kB / 0.8885 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002632/0.0163, allocations: 289.8 kB / 0.8888 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.01631, allocations: 0 / 0.8888 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.743e-05/0.01636, allocations: 51.59 kB / 0.8889 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.01664, allocations: 61.61 kB / 0.8889 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004542/0.01709, allocations: 311 kB / 0.8892 GB, free: 11.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.58e-05/0.01714, allocations: 79.84 kB / 0.8893 GB, free: 11 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.192e-05/0.0172, allocations: 25.94 kB / 0.8893 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.615e-05/0.01725, allocations: 28.61 kB / 0.8894 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of SimCode: time 7.42e-07/0.01725, allocations: 0 / 0.8894 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of Templates: time 0.005541/0.02279, allocations: 3.848 MB / 0.8931 GB, free: 7.168 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.520973477978259]