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.001414/0.001414, allocations: 78.33 kB / 19.18 MB, free: 2.516 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.001679/0.001679, allocations: 162.2 kB / 22.46 MB, free: 5.379 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.498/1.498, allocations: 177.1 MB / 202.8 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] 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.867/2.867, allocations: 389 MB / 0.633 GB, free: 0.9727 MB / 0.5919 GB " [Timeout remaining time 176] 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 1.813e-06/1.813e-06, allocations: 0 / 1 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.722e-05/2.903e-05, allocations: 2.281 kB / 1 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003454/0.003483, allocations: 1.774 MB / 1.002 GB, free: 5.523 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001361/0.004844, allocations: 0.6156 MB / 1.002 GB, free: 4.906 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.819e-05/0.004942, allocations: 0 / 1.002 GB, free: 4.906 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001959/0.005138, allocations: 35.59 kB / 1.002 GB, free: 4.871 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0004464/0.005585, allocations: 131.3 kB / 1.003 GB, free: 4.742 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004358/0.00602, allocations: 153.4 kB / 1.003 GB, free: 4.594 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003733/0.006394, allocations: 251.3 kB / 1.003 GB, free: 4.348 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.00653, allocations: 29.78 kB / 1.003 GB, free: 4.316 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002359/0.006766, allocations: 139.7 kB / 1.003 GB, free: 4.18 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008719/0.01549, allocations: 1.03 MB / 1.004 GB, free: 3.406 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.01559, allocations: 20 kB / 1.004 GB, free: 3.387 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.01574, allocations: 43.91 kB / 1.004 GB, free: 3.344 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.595e-05/0.01583, allocations: 43.78 kB / 1.004 GB, free: 3.301 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001331/0.01597, allocations: 67.8 kB / 1.004 GB, free: 3.234 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005117/0.01648, allocations: 243.2 kB / 1.005 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.01648, allocations: 0 / 1.005 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.853e-06/0.01648, allocations: 0 / 1.005 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.238e-05/0.01651, allocations: 0 / 1.005 GB, free: 2.996 MB / 0.9512 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.001049/0.01756, allocations: 0.4966 MB / 1.005 GB, free: 2.457 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.01759, allocations: 8.031 kB / 1.005 GB, free: 2.449 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.0177, allocations: 20.84 kB / 1.005 GB, free: 2.43 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004207/0.01812, allocations: 185.6 kB / 1.005 GB, free: 2.223 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.01814, allocations: 12.36 kB / 1.005 GB, free: 2.211 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.368e-05/0.01818, allocations: 16.38 kB / 1.005 GB, free: 2.195 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002499/0.01843, allocations: 118 kB / 1.005 GB, free: 2.074 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.01845, allocations: 3.938 kB / 1.005 GB, free: 2.07 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.01846, allocations: 0 / 1.005 GB, free: 2.07 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.01847, allocations: 4 kB / 1.005 GB, free: 2.066 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.01861, allocations: 59.97 kB / 1.005 GB, free: 2.008 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009672/0.01958, allocations: 392.1 kB / 1.006 GB, free: 1.594 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003114/0.01989, allocations: 106.7 kB / 1.006 GB, free: 1.48 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.782e-05/0.01996, allocations: 28.84 kB / 1.006 GB, free: 1.449 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.01998, allocations: 4 kB / 1.006 GB, free: 1.445 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001923/0.02017, allocations: 119.2 kB / 1.006 GB, free: 1.316 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=16): time 2.074e-06/0.02018, allocations: 0 / 1.006 GB, free: 1.316 MB / 0.9512 GB Notification: Performance of matching and sorting (n=16): time 0.0004168/0.02059, allocations: 161.6 kB / 1.006 GB, free: 1.152 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.02065, allocations: 59.39 kB / 1.006 GB, free: 1.082 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002393/0.02088, allocations: 211.7 kB / 1.006 GB, free: 0.8594 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.88e-05/0.02093, allocations: 33.7 kB / 1.006 GB, free: 0.8203 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.02106, allocations: 128.5 kB / 1.007 GB, free: 0.6914 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.912e-05/0.0211, allocations: 31.73 kB / 1.007 GB, free: 0.6602 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.02123, allocations: 73.66 kB / 1.007 GB, free: 0.582 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.02138, allocations: 326.8 kB / 1.007 GB, free: 260 kB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.02161, allocations: 131.3 kB / 1.007 GB, free: 116 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000344/0.02195, allocations: 241.1 kB / 1.007 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003422/0.02229, allocations: 212.8 kB / 1.008 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.0223, allocations: 0 / 1.008 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007251/0.02302, allocations: 400.1 kB / 1.008 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.403e-05/0.02309, allocations: 67.42 kB / 1.008 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.0231, allocations: 4 kB / 1.008 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.02312, allocations: 4 kB / 1.008 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.934e-05/0.02322, allocations: 23.92 kB / 1.008 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.02322, allocations: 4 kB / 1.008 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/0.02344, allocations: 23.81 kB / 1.008 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.314e-05/0.02348, allocations: 19.98 kB / 1.008 GB, free: 15.01 MB / 0.9669 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.0001667/0.02364, allocations: 140.3 kB / 1.008 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.162e-05/0.02369, allocations: 23.84 kB / 1.008 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002822/0.02397, allocations: 153.7 kB / 1.008 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.627e-06/0.02398, allocations: 8.031 kB / 1.008 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.02398, allocations: 4 kB / 1.008 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.02399, allocations: 3.938 kB / 1.008 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006373/0.02463, allocations: 410 kB / 1.009 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.02463, allocations: 0 / 1.009 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.635e-05/0.02468, allocations: 8 kB / 1.009 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.02468, allocations: 0 / 1.009 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.0247, allocations: 11.92 kB / 1.009 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.0247, allocations: 0 / 1.009 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.0247, allocations: 8 kB / 1.009 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003122/0.02502, allocations: 239.2 kB / 1.009 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.445e-05/0.02508, allocations: 27.83 kB / 1.009 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.02511, allocations: 3.938 kB / 1.009 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.02522, allocations: 11.98 kB / 1.009 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.159e-05/0.02531, allocations: 19.97 kB / 1.009 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.807e-05/0.02533, allocations: 8 kB / 1.009 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001519/0.02549, allocations: 145.5 kB / 1.009 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9.1e-08/0.02549, allocations: 0 / 1.009 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003474/0.02583, allocations: 43.98 kB / 1.009 GB, free: 13.7 MB / 0.9669 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.0004352/0.02627, allocations: 178 kB / 1.009 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005136/0.02678, allocations: 305.1 kB / 1.01 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.02678, allocations: 0 / 1.01 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.02689, allocations: 47.91 kB / 1.01 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004947/0.02739, allocations: 57.98 kB / 1.01 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007793/0.02817, allocations: 326.6 kB / 1.01 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.0283, allocations: 120.2 kB / 1.01 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001017/0.0284, allocations: 33.86 kB / 1.01 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.795e-05/0.02847, allocations: 24.48 kB / 1.01 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of SimCode: time 5.91e-07/0.02847, allocations: 0 / 1.01 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of Templates: time 0.009849/0.03832, allocations: 3.811 MB / 1.014 GB, free: 8.824 MB / 0.9669 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: 8.161516658961773]