Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001777/0.001777, allocations: 81.34 kB / 19.18 MB, free: 2.527 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.002232/0.002232, allocations: 165.1 kB / 22.46 MB, free: 5.359 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.486/1.486, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.677/2.677, allocations: 359 MB / 0.6037 GB, free: 14.99 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Plotters.Examples.TimeSeries") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.9509 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.564e-05/2.722e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.005642/0.005669, allocations: 1.778 MB / 0.9527 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001944/0.007612, allocations: 0.6124 MB / 0.9533 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001434/0.007756, allocations: 3.938 kB / 0.9533 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002463/0.008002, allocations: 35.59 kB / 0.9533 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006052/0.008607, allocations: 123.4 kB / 0.9534 GB, free: 9.059 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005864/0.009194, allocations: 163.6 kB / 0.9536 GB, free: 8.898 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004907/0.009684, allocations: 243.4 kB / 0.9538 GB, free: 8.66 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.009844, allocations: 29.73 kB / 0.9538 GB, free: 8.629 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003188/0.01016, allocations: 143.7 kB / 0.954 GB, free: 8.488 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0119/0.02206, allocations: 1.042 MB / 0.955 GB, free: 7.703 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.02217, allocations: 16 kB / 0.955 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.02232, allocations: 32 kB / 0.955 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.02243, allocations: 47.77 kB / 0.9551 GB, free: 7.609 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001616/0.02259, allocations: 63.81 kB / 0.9551 GB, free: 7.547 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005805/0.02317, allocations: 243.2 kB / 0.9554 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.788e-06/0.02318, allocations: 0 / 0.9554 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.633e-06/0.02318, allocations: 0 / 0.9554 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.02319, allocations: 0 / 0.9554 GB, free: 7.309 MB / 0.8575 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.001157/0.02434, allocations: 0.5005 MB / 0.9559 GB, free: 6.766 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.02439, allocations: 12.03 kB / 0.9559 GB, free: 6.754 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.02452, allocations: 24.8 kB / 0.9559 GB, free: 6.73 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004779/0.025, allocations: 191.1 kB / 0.9561 GB, free: 6.52 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.181e-05/0.02503, allocations: 12.38 kB / 0.9561 GB, free: 6.508 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.88e-05/0.02508, allocations: 12.38 kB / 0.9561 GB, free: 6.496 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003075/0.02539, allocations: 108.1 kB / 0.9562 GB, free: 6.387 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.0254, allocations: 11.88 kB / 0.9562 GB, free: 6.375 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/0.02543, allocations: 4 kB / 0.9562 GB, free: 6.371 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.02543, allocations: 4 kB / 0.9562 GB, free: 6.367 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002003/0.02563, allocations: 59.95 kB / 0.9563 GB, free: 6.309 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.02684, allocations: 396.1 kB / 0.9567 GB, free: 5.891 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004234/0.02726, allocations: 102.7 kB / 0.9568 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.58e-05/0.02735, allocations: 32.84 kB / 0.9568 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.02738, allocations: 0 / 0.9568 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002383/0.02762, allocations: 107.4 kB / 0.9569 GB, free: 5.629 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.953e-06/0.02762, allocations: 0 / 0.9569 GB, free: 5.629 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0005571/0.02818, allocations: 177.4 kB / 0.9571 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.323e-05/0.02824, allocations: 59.41 kB / 0.9571 GB, free: 5.379 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003162/0.02856, allocations: 203.8 kB / 0.9573 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.468e-05/0.02862, allocations: 33.7 kB / 0.9573 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.02877, allocations: 128.5 kB / 0.9575 GB, free: 5 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.05e-05/0.02883, allocations: 43.67 kB / 0.9575 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.029, allocations: 65.67 kB / 0.9576 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001888/0.02918, allocations: 330.8 kB / 0.9579 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003107/0.0295, allocations: 123.3 kB / 0.958 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004617/0.02996, allocations: 242.5 kB / 0.9582 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004814/0.03044, allocations: 209.2 kB / 0.9584 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.03044, allocations: 7.938 kB / 0.9584 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001011/0.03145, allocations: 392.2 kB / 0.9588 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.944e-05/0.03153, allocations: 65.27 kB / 0.9589 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.03154, allocations: 0 / 0.9589 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.03156, allocations: 7.984 kB / 0.9589 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.03169, allocations: 19.94 kB / 0.9589 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.0317, allocations: 0 / 0.9589 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002992/0.032, allocations: 35.77 kB / 0.9589 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.11e-05/0.03204, allocations: 11.98 kB / 0.9589 GB, free: 3.324 MB / 0.8575 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.0001833/0.03223, allocations: 139.8 kB / 0.9591 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.595e-05/0.03227, allocations: 19.95 kB / 0.9591 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000377/0.03265, allocations: 161.7 kB / 0.9593 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.03265, allocations: 0 / 0.9593 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.03266, allocations: 0 / 0.9593 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.03267, allocations: 3.938 kB / 0.9593 GB, free: 3 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008257/0.03349, allocations: 414 kB / 0.9597 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.03349, allocations: 0 / 0.9597 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.669e-05/0.03355, allocations: 4 kB / 0.9597 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.03356, allocations: 3.984 kB / 0.9597 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/0.03358, allocations: 19.91 kB / 0.9597 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.03358, allocations: 4 kB / 0.9597 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.03359, allocations: 0 / 0.9597 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004065/0.03399, allocations: 241.6 kB / 0.9599 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.417e-05/0.03408, allocations: 23.89 kB / 0.9599 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.152e-05/0.03412, allocations: 7.938 kB / 0.9599 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001798/0.0343, allocations: 15.92 kB / 0.96 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.779e-05/0.03439, allocations: 15.97 kB / 0.96 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.421e-05/0.03442, allocations: 8 kB / 0.96 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000205/0.03462, allocations: 149.5 kB / 0.9601 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.03462, allocations: 0 / 0.9601 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005782/0.0352, allocations: 51.89 kB / 0.9602 GB, free: 2.012 MB / 0.8575 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.0005303/0.03573, allocations: 172.3 kB / 0.9603 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006435/0.03638, allocations: 304.4 kB / 0.9606 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.03638, allocations: 0 / 0.9606 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.03652, allocations: 47.91 kB / 0.9607 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006824/0.0372, allocations: 67.05 kB / 0.9607 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00091/0.03811, allocations: 322.7 kB / 0.961 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000165/0.03828, allocations: 120.1 kB / 0.9612 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001224/0.0384, allocations: 25.94 kB / 0.9612 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.721e-05/0.03848, allocations: 28.48 kB / 0.9612 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of SimCode: time 4.11e-07/0.03849, allocations: 0 / 0.9612 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of Templates: time 0.01145/0.04994, allocations: 3.809 MB / 0.9649 GB, free: 13.14 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.764499127864838]