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.001347/0.001347, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001707/0.001707, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.012/1.012, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.463/2.463, allocations: 438.1 MB / 0.682 GB, free: 14.11 MB / 0.6511 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.463e-06/1.463e-06, allocations: 0 / 0.8897 GB, free: 9.734 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.558e-05/2.704e-05, allocations: 9.688 kB / 0.8897 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002448/0.002475, allocations: 1.811 MB / 0.8915 GB, free: 7.898 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0008796/0.003354, allocations: 0.635 MB / 0.8921 GB, free: 7.262 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.191e-05/0.003426, allocations: 0 / 0.8921 GB, free: 7.262 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001653/0.003591, allocations: 19.73 kB / 0.8921 GB, free: 7.242 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.000297/0.003888, allocations: 139.2 kB / 0.8922 GB, free: 7.105 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002609/0.004149, allocations: 155.6 kB / 0.8924 GB, free: 6.953 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.004369, allocations: 255.4 kB / 0.8926 GB, free: 6.703 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.004474, allocations: 21.8 kB / 0.8927 GB, free: 6.684 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008497/0.01297, allocations: 3.19 MB / 0.8958 GB, free: 4.66 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.01314, allocations: 91.75 kB / 0.8959 GB, free: 4.57 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.447e-05/0.01317, allocations: 16 kB / 0.8959 GB, free: 4.555 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 8.796e-05/0.01326, allocations: 43.91 kB / 0.8959 GB, free: 4.512 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 5.044e-05/0.01331, allocations: 39.83 kB / 0.896 GB, free: 4.473 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 6.482e-05/0.01337, allocations: 59.81 kB / 0.896 GB, free: 4.414 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003027/0.01368, allocations: 187.3 kB / 0.8962 GB, free: 4.23 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.01368, allocations: 4 kB / 0.8962 GB, free: 4.227 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.734e-06/0.01368, allocations: 0 / 0.8962 GB, free: 4.227 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.01369, allocations: 0 / 0.8962 GB, free: 4.227 MB / 0.8542 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.0006015/0.01429, allocations: 0.5806 MB / 0.8968 GB, free: 3.598 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.01433, allocations: 12.62 kB / 0.8968 GB, free: 3.586 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.911e-05/0.01439, allocations: 32.8 kB / 0.8968 GB, free: 3.555 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.01458, allocations: 203.8 kB / 0.897 GB, free: 3.332 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.0146, allocations: 8.375 kB / 0.897 GB, free: 3.324 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.01462, allocations: 16.38 kB / 0.897 GB, free: 3.309 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.01473, allocations: 90 kB / 0.8971 GB, free: 3.215 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.01474, allocations: 3.938 kB / 0.8971 GB, free: 3.211 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-06/0.01475, allocations: 4 kB / 0.8971 GB, free: 3.207 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.01475, allocations: 4 kB / 0.8971 GB, free: 3.203 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.582e-05/0.0148, allocations: 23.97 kB / 0.8971 GB, free: 3.18 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004734/0.01527, allocations: 407.9 kB / 0.8975 GB, free: 2.754 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.01543, allocations: 87.2 kB / 0.8976 GB, free: 2.656 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.032e-05/0.01546, allocations: 23.67 kB / 0.8976 GB, free: 2.629 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.01549, allocations: 0 / 0.8976 GB, free: 2.629 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001055/0.01559, allocations: 88.95 kB / 0.8977 GB, free: 2.527 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.292e-06/0.01559, allocations: 0 / 0.8977 GB, free: 2.527 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0002055/0.0158, allocations: 141.4 kB / 0.8979 GB, free: 2.383 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.01583, allocations: 55.41 kB / 0.8979 GB, free: 2.316 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.01598, allocations: 247.6 kB / 0.8981 GB, free: 2.055 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.01601, allocations: 37.7 kB / 0.8982 GB, free: 2.012 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.01611, allocations: 183.2 kB / 0.8984 GB, free: 1.828 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.874e-05/0.01615, allocations: 39.69 kB / 0.8984 GB, free: 1.789 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.01625, allocations: 67.3 kB / 0.8985 GB, free: 1.715 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.01639, allocations: 0.5039 MB / 0.899 GB, free: 1.199 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.0165, allocations: 108 kB / 0.8991 GB, free: 1.078 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.01662, allocations: 232.1 kB / 0.8993 GB, free: 0.7891 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.01676, allocations: 196.7 kB / 0.8995 GB, free: 0.5586 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.01677, allocations: 4 kB / 0.8995 GB, free: 0.5547 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002915/0.01706, allocations: 332.1 kB / 0.8998 GB, free: 204 kB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.093e-05/0.0171, allocations: 67.39 kB / 0.8999 GB, free: 124 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.0171, allocations: 0 / 0.8999 GB, free: 124 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.01712, allocations: 7.984 kB / 0.8999 GB, free: 116 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.924e-05/0.01719, allocations: 27.94 kB / 0.8999 GB, free: 88 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.01719, allocations: 12.08 kB / 0.8999 GB, free: 76 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.253e-05/0.01727, allocations: 23.89 kB / 0.8999 GB, free: 52 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.01729, allocations: 15.92 kB / 0.8999 GB, free: 36 kB / 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.0001061/0.0174, allocations: 178.5 kB / 0.9001 GB, free: 15.85 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.12e-05/0.01742, allocations: 19.91 kB / 0.9001 GB, free: 15.83 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.01757, allocations: 115.5 kB / 0.9002 GB, free: 15.71 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.01757, allocations: 4 kB / 0.9002 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.01757, allocations: 0 / 0.9002 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.01758, allocations: 3.984 kB / 0.9002 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003428/0.01792, allocations: 424.6 kB / 0.9006 GB, free: 15.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.01792, allocations: 0 / 0.9006 GB, free: 15.25 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.703e-05/0.01795, allocations: 15.97 kB / 0.9007 GB, free: 15.24 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.01795, allocations: 3.984 kB / 0.9007 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.01796, allocations: 0 / 0.9007 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.01796, allocations: 0 / 0.9007 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.01796, allocations: 11.92 kB / 0.9007 GB, free: 15.22 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.01811, allocations: 263.8 kB / 0.9009 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.252e-05/0.01815, allocations: 27.83 kB / 0.901 GB, free: 14.92 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.01816, allocations: 7.984 kB / 0.901 GB, free: 14.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.901e-05/0.01821, allocations: 8 kB / 0.901 GB, free: 14.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.01825, allocations: 23.91 kB / 0.901 GB, free: 14.88 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.01827, allocations: 7.984 kB / 0.901 GB, free: 14.87 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.5e-05/0.01834, allocations: 168.4 kB / 0.9012 GB, free: 14.71 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8e-08/0.01834, allocations: 3.938 kB / 0.9012 GB, free: 14.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002088/0.01855, allocations: 51.88 kB / 0.9012 GB, free: 14.65 MB / 0.8698 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.0003279/0.01887, allocations: 164.2 kB / 0.9014 GB, free: 14.51 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002405/0.01911, allocations: 273.6 kB / 0.9016 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01912, allocations: 320 / 0.9016 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.8e-05/0.01916, allocations: 51.66 kB / 0.9017 GB, free: 14.14 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.01945, allocations: 72.52 kB / 0.9018 GB, free: 14.08 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004495/0.0199, allocations: 310.3 kB / 0.902 GB, free: 13.75 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.363e-05/0.01994, allocations: 75.98 kB / 0.9021 GB, free: 13.65 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 5.765e-05/0.02, allocations: 21.94 kB / 0.9021 GB, free: 13.63 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.02016, allocations: 142.1 kB / 0.9023 GB, free: 13.49 MB / 0.8698 GB Notification: Performance of SimCode: time 6.91e-07/0.02016, allocations: 0 / 0.9023 GB, free: 13.49 MB / 0.8698 GB Notification: Performance of Templates: time 0.005678/0.02584, allocations: 3.903 MB / 0.9061 GB, free: 9.645 MB / 0.8698 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.543648437131196]