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.001445/0.001445, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001528/0.001528, allocations: 181 kB / 23.36 MB, free: 1.133 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.106/1.106, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.504/2.504, allocations: 438.8 MB / 0.6827 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.593e-06/1.593e-06, allocations: 0 / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.787e-05/2.947e-05, allocations: 6.312 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003435/0.003465, allocations: 1.866 MB / 0.8404 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.004725, allocations: 0.6425 MB / 0.841 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.197e-05/0.004807, allocations: 3.938 kB / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001786/0.004986, allocations: 27.72 kB / 0.8411 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.000359/0.005345, allocations: 127.3 kB / 0.8412 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003615/0.005706, allocations: 159.6 kB / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003326/0.006039, allocations: 243.3 kB / 0.8416 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.006168, allocations: 30.44 kB / 0.8416 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01231/0.01848, allocations: 3.212 MB / 0.8447 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004006/0.01888, allocations: 95.73 kB / 0.8448 GB, free: 8.973 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 6.63e-05/0.01895, allocations: 16 kB / 0.8448 GB, free: 8.957 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001822/0.01913, allocations: 35.92 kB / 0.8449 GB, free: 8.922 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.955e-05/0.01922, allocations: 39.83 kB / 0.8449 GB, free: 8.883 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.01934, allocations: 63.81 kB / 0.845 GB, free: 8.82 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0005511/0.01989, allocations: 175.4 kB / 0.8451 GB, free: 8.648 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.0199, allocations: 0 / 0.8451 GB, free: 8.648 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.605e-06/0.0199, allocations: 0 / 0.8451 GB, free: 8.648 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.01991, allocations: 4 kB / 0.8451 GB, free: 8.645 MB / 0.8073 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.0007757/0.02068, allocations: 470.8 kB / 0.8456 GB, free: 8.148 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.02073, allocations: 12.61 kB / 0.8456 GB, free: 8.137 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.005e-05/0.0208, allocations: 24.92 kB / 0.8456 GB, free: 8.113 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003137/0.02111, allocations: 181.4 kB / 0.8458 GB, free: 7.91 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.02114, allocations: 12.38 kB / 0.8458 GB, free: 7.898 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.312e-05/0.02117, allocations: 24.3 kB / 0.8458 GB, free: 7.875 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.0213, allocations: 74.2 kB / 0.8459 GB, free: 7.797 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.02132, allocations: 7.938 kB / 0.8459 GB, free: 7.789 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.02133, allocations: 4 kB / 0.8459 GB, free: 7.785 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.02134, allocations: 0 / 0.8459 GB, free: 7.785 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.303e-05/0.0214, allocations: 27.98 kB / 0.8459 GB, free: 7.758 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007387/0.02214, allocations: 282.7 kB / 0.8462 GB, free: 7.465 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.02231, allocations: 74.53 kB / 0.8463 GB, free: 7.383 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.564e-05/0.02233, allocations: 12.86 kB / 0.8463 GB, free: 7.367 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.02235, allocations: 4 kB / 0.8463 GB, free: 7.363 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000112/0.02246, allocations: 90.47 kB / 0.8464 GB, free: 7.266 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.764e-06/0.02247, allocations: 0 / 0.8464 GB, free: 7.266 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0001771/0.02264, allocations: 109.6 kB / 0.8465 GB, free: 7.152 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.02268, allocations: 55.41 kB / 0.8465 GB, free: 7.086 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.02281, allocations: 191.5 kB / 0.8467 GB, free: 6.883 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.02284, allocations: 33.7 kB / 0.8468 GB, free: 6.844 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.685e-05/0.02291, allocations: 124.4 kB / 0.8469 GB, free: 6.719 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.02294, allocations: 39.67 kB / 0.8469 GB, free: 6.68 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.974e-05/0.02301, allocations: 61.86 kB / 0.847 GB, free: 6.613 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.02311, allocations: 342.7 kB / 0.8473 GB, free: 6.27 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.268e-05/0.0232, allocations: 111.9 kB / 0.8474 GB, free: 6.145 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.02332, allocations: 206.3 kB / 0.8476 GB, free: 5.891 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.02345, allocations: 172.1 kB / 0.8478 GB, free: 5.688 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.02345, allocations: 4.031 kB / 0.8478 GB, free: 5.684 MB / 0.8073 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002055/0.02366, allocations: 279.3 kB / 0.848 GB, free: 5.383 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.464e-05/0.0237, allocations: 67.39 kB / 0.8481 GB, free: 5.305 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.02371, allocations: 0 / 0.8481 GB, free: 5.305 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.02372, allocations: 4 kB / 0.8481 GB, free: 5.301 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.286e-05/0.02378, allocations: 31.92 kB / 0.8481 GB, free: 5.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.02379, allocations: 4 kB / 0.8481 GB, free: 5.266 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.132e-05/0.02387, allocations: 27.88 kB / 0.8482 GB, free: 5.238 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.02388, allocations: 12.16 kB / 0.8482 GB, free: 5.227 MB / 0.8073 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 8.215e-05/0.02396, allocations: 138.5 kB / 0.8483 GB, free: 5.078 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.759e-05/0.02398, allocations: 15.98 kB / 0.8483 GB, free: 5.062 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.02409, allocations: 95.39 kB / 0.8484 GB, free: 4.965 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.02409, allocations: 0 / 0.8484 GB, free: 4.965 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.02409, allocations: 0 / 0.8484 GB, free: 4.965 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.02409, allocations: 0 / 0.8484 GB, free: 4.965 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002731/0.02437, allocations: 305.3 kB / 0.8487 GB, free: 4.645 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.02437, allocations: 0 / 0.8487 GB, free: 4.645 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.255e-05/0.02439, allocations: 15.92 kB / 0.8487 GB, free: 4.629 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.02439, allocations: 4 kB / 0.8487 GB, free: 4.625 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-06/0.0244, allocations: 4 kB / 0.8487 GB, free: 4.621 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.0244, allocations: 0 / 0.8487 GB, free: 4.621 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.0244, allocations: 0 / 0.8487 GB, free: 4.621 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.688e-05/0.0245, allocations: 183.4 kB / 0.8489 GB, free: 4.426 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.864e-05/0.02452, allocations: 27.8 kB / 0.8489 GB, free: 4.398 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.02454, allocations: 4 kB / 0.8489 GB, free: 4.395 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.644e-05/0.02458, allocations: 15.92 kB / 0.849 GB, free: 4.379 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.572e-05/0.02462, allocations: 15.91 kB / 0.849 GB, free: 4.363 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.02463, allocations: 8 kB / 0.849 GB, free: 4.355 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.733e-05/0.02467, allocations: 57.77 kB / 0.849 GB, free: 4.297 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.02467, allocations: 0 / 0.849 GB, free: 4.297 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001732/0.02484, allocations: 44 kB / 0.8491 GB, free: 4.254 MB / 0.8073 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.0002964/0.02514, allocations: 175.5 kB / 0.8492 GB, free: 4.105 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001951/0.02534, allocations: 262.9 kB / 0.8495 GB, free: 3.809 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.02534, allocations: 0 / 0.8495 GB, free: 3.809 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.45e-05/0.02538, allocations: 44.77 kB / 0.8495 GB, free: 3.762 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001997/0.02558, allocations: 57.11 kB / 0.8496 GB, free: 3.711 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003665/0.02595, allocations: 304 kB / 0.8499 GB, free: 3.383 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.044e-05/0.02599, allocations: 75.98 kB / 0.85 GB, free: 3.289 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.46e-05/0.02603, allocations: 29.95 kB / 0.85 GB, free: 3.262 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.02617, allocations: 109.3 kB / 0.8501 GB, free: 3.152 MB / 0.8073 GB Notification: Performance of SimCode: time 4.2e-07/0.02617, allocations: 0 / 0.8501 GB, free: 3.152 MB / 0.8073 GB Notification: Performance of Templates: time 0.005156/0.03133, allocations: 3.82 MB / 0.8538 GB, free: 15.4 MB / 0.823 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 -s gbode -gbm=radauIIA3 -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.566180812194943]