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.000861/0.000861, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008823/0.0008823, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8805/0.8805, allocations: 177.1 MB / 203.5 MB, free: 5.727 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 1.783/1.783, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.1.|timSer.y.2.|timSer.y.3.|timSer1.y.1.|timSer1.y.2.",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.1.|timSer.y.2.|timSer.y.3.|timSer1.y.1.|timSer1.y.2.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.308e-05/3.523e-05, allocations: 2.281 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003438/0.003473, allocations: 1.757 MB / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001243/0.004717, allocations: 0.6234 MB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.004831, allocations: 3.938 kB / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0002127/0.005044, allocations: 27.67 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0004637/0.005508, allocations: 127.3 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004403/0.005948, allocations: 170 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000342/0.00629, allocations: 235.4 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.006444, allocations: 29.78 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002239/0.006668, allocations: 147.6 kB / 1.004 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004519/0.01119, allocations: 1.033 MB / 1.005 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 6.07e-05/0.01125, allocations: 16 kB / 1.005 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.01137, allocations: 39.98 kB / 1.005 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 9.145e-05/0.01147, allocations: 51.81 kB / 1.005 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.01157, allocations: 59.81 kB / 1.005 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000472/0.01204, allocations: 243.2 kB / 1.005 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.01205, allocations: 0 / 1.005 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.415e-06/0.01205, allocations: 0 / 1.005 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.01206, allocations: 0 / 1.005 GB, free: 8.75 MB / 0.9636 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.0008587/0.01292, allocations: 0.4889 MB / 1.006 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.01296, allocations: 17.34 kB / 1.006 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.508e-05/0.01305, allocations: 20.84 kB / 1.006 GB, free: 8.184 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.01336, allocations: 189.6 kB / 1.006 GB, free: 7.973 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.01338, allocations: 12.38 kB / 1.006 GB, free: 7.961 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.334e-05/0.01341, allocations: 16.38 kB / 1.006 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.01363, allocations: 107.5 kB / 1.006 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.01364, allocations: 3.938 kB / 1.006 GB, free: 7.832 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.01365, allocations: 4 kB / 1.006 GB, free: 7.828 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.01366, allocations: 0 / 1.006 GB, free: 7.828 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.01378, allocations: 63.89 kB / 1.006 GB, free: 7.766 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007629/0.01455, allocations: 396.1 kB / 1.007 GB, free: 7.348 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002731/0.01482, allocations: 109.9 kB / 1.007 GB, free: 7.234 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.669e-05/0.01487, allocations: 32.84 kB / 1.007 GB, free: 7.199 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.0149, allocations: 0 / 1.007 GB, free: 7.199 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002079/0.01511, allocations: 111.3 kB / 1.007 GB, free: 7.078 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=16): time 1.853e-06/0.01511, allocations: 0 / 1.007 GB, free: 7.078 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16): time 0.0003597/0.01547, allocations: 179.8 kB / 1.007 GB, free: 6.898 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.01552, allocations: 55.41 kB / 1.007 GB, free: 6.832 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.0157, allocations: 207.8 kB / 1.007 GB, free: 6.613 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.062e-05/0.01573, allocations: 33.7 kB / 1.007 GB, free: 6.574 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 9.076e-05/0.01582, allocations: 136.5 kB / 1.007 GB, free: 6.438 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.485e-05/0.01587, allocations: 35.73 kB / 1.007 GB, free: 6.402 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.327e-05/0.01596, allocations: 61.67 kB / 1.007 GB, free: 6.336 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.726e-05/0.01606, allocations: 330.8 kB / 1.008 GB, free: 6.004 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.01624, allocations: 127.3 kB / 1.008 GB, free: 5.867 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.01648, allocations: 248.3 kB / 1.008 GB, free: 5.574 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002707/0.01675, allocations: 209.3 kB / 1.008 GB, free: 5.336 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.187e-06/0.01675, allocations: 3.984 kB / 1.008 GB, free: 5.332 MB / 0.9636 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005356/0.01729, allocations: 392.1 kB / 1.009 GB, free: 4.918 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 5.551e-05/0.01734, allocations: 67.39 kB / 1.009 GB, free: 4.84 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.01735, allocations: 160 / 1.009 GB, free: 4.84 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.01737, allocations: 8 kB / 1.009 GB, free: 4.832 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.967e-05/0.01745, allocations: 19.92 kB / 1.009 GB, free: 4.812 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.01746, allocations: 4 kB / 1.009 GB, free: 4.809 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.0176, allocations: 27.83 kB / 1.009 GB, free: 4.781 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.01762, allocations: 11.98 kB / 1.009 GB, free: 4.77 MB / 0.9636 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.000118/0.01774, allocations: 143.8 kB / 1.009 GB, free: 4.621 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.626e-05/0.01777, allocations: 19.86 kB / 1.009 GB, free: 4.602 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002297/0.01799, allocations: 151.3 kB / 1.009 GB, free: 4.445 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.018, allocations: 4 kB / 1.009 GB, free: 4.441 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.018, allocations: 4 kB / 1.009 GB, free: 4.438 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.01801, allocations: 11.86 kB / 1.009 GB, free: 4.426 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005055/0.01852, allocations: 404.3 kB / 1.01 GB, free: 3.996 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01852, allocations: 4 kB / 1.01 GB, free: 3.992 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.719e-05/0.01856, allocations: 11.92 kB / 1.01 GB, free: 3.98 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.01856, allocations: 0 / 1.01 GB, free: 3.98 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.01857, allocations: 11.94 kB / 1.01 GB, free: 3.969 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.01857, allocations: 0 / 1.01 GB, free: 3.969 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.01858, allocations: 0 / 1.01 GB, free: 3.969 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.01879, allocations: 231.4 kB / 1.01 GB, free: 3.727 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.485e-05/0.01885, allocations: 35.78 kB / 1.01 GB, free: 3.691 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.01887, allocations: 11.92 kB / 1.01 GB, free: 3.68 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.4e-05/0.01895, allocations: 8 kB / 1.01 GB, free: 3.672 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.176e-05/0.01902, allocations: 15.91 kB / 1.01 GB, free: 3.656 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.676e-05/0.01904, allocations: 15.98 kB / 1.01 GB, free: 3.641 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001592/0.0192, allocations: 145.5 kB / 1.01 GB, free: 3.5 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9.1e-08/0.0192, allocations: 0 / 1.01 GB, free: 3.5 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000347/0.01955, allocations: 47.94 kB / 1.01 GB, free: 3.453 MB / 0.9636 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.0003445/0.01989, allocations: 174 kB / 1.01 GB, free: 3.297 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003803/0.02027, allocations: 308.8 kB / 1.011 GB, free: 2.961 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.02028, allocations: 0 / 1.011 GB, free: 2.961 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.901e-05/0.02036, allocations: 43.98 kB / 1.011 GB, free: 2.918 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.02074, allocations: 54.12 kB / 1.011 GB, free: 2.867 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006441/0.02139, allocations: 363.9 kB / 1.011 GB, free: 2.477 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.677e-05/0.02149, allocations: 120.6 kB / 1.011 GB, free: 2.344 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.463e-05/0.02154, allocations: 20.5 kB / 1.011 GB, free: 2.324 MB / 0.9636 GB Notification: Performance of SimCode: time 6.51e-07/0.02154, allocations: 0 / 1.011 GB, free: 2.324 MB / 0.9636 GB Notification: Performance of Templates: time 0.005161/0.0267, allocations: 3.351 MB / 1.014 GB, free: 14.99 MB / 0.9792 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.641877829097211]