Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timSer.y.1.|timSer.y.2.|timSer.y.3.|timSer1.y.1.|timSer1.y.2.",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries") translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timSer.y.1.|timSer.y.2.|timSer.y.3.|timSer1.y.1.|timSer1.y.2.",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 117.7 kB / 16.37 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001347/0.001348, allocations: 189.7 kB / 17.3 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.205/2.205, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002602/0.002602, allocations: 68.58 kB / 0.814 GB, free: 32.78 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2899, allocations: 140.4 MB / 0.9511 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.00316/0.2931, allocations: 1.765 MB / 0.9528 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001076/0.2942, allocations: 0.6352 MB / 0.9535 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.216e-05/0.2943, allocations: 0 / 0.9535 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001636/0.2944, allocations: 27.72 kB / 0.9535 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003177/0.2948, allocations: 131.4 kB / 0.9536 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003265/0.2951, allocations: 159.7 kB / 0.9538 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002716/0.2954, allocations: 239.3 kB / 0.954 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.2955, allocations: 41.67 kB / 0.954 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.2957, allocations: 103.7 kB / 0.9541 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005916/0.3016, allocations: 1.052 MB / 0.9552 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.075e-05/0.3016, allocations: 20 kB / 0.9552 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.396e-05/0.3017, allocations: 36 kB / 0.9552 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.349e-05/0.3018, allocations: 47.81 kB / 0.9553 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.3019, allocations: 95.45 kB / 0.9554 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003174/0.3023, allocations: 215.3 kB / 0.9556 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3023, allocations: 4 kB / 0.9556 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3023, allocations: 0 / 0.9556 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.3023, allocations: 0 / 0.9556 GB, free: 3.781 MB / 0.7325 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.0007119/0.303, allocations: 0.5604 MB / 0.9561 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.303, allocations: 12.03 kB / 0.9561 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.727e-05/0.3031, allocations: 24.66 kB / 0.9561 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003022/0.3034, allocations: 236.2 kB / 0.9564 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.3035, allocations: 16.38 kB / 0.9564 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.76e-05/0.3035, allocations: 24.06 kB / 0.9564 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.3037, allocations: 105.5 kB / 0.9565 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.3037, allocations: 0 / 0.9565 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.3037, allocations: 11.98 kB / 0.9565 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.3037, allocations: 0 / 0.9565 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.3039, allocations: 55.97 kB / 0.9566 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008136/0.3047, allocations: 488.2 kB / 0.957 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.3049, allocations: 110.7 kB / 0.9571 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.707e-05/0.305, allocations: 44.72 kB / 0.9572 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.305, allocations: 4 kB / 0.9572 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001434/0.3052, allocations: 111.3 kB / 0.9573 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.3052, allocations: 0 / 0.9573 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16): time 0.0003214/0.3055, allocations: 172.2 kB / 0.9575 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.3056, allocations: 59.39 kB / 0.9575 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.3058, allocations: 211.6 kB / 0.9577 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.903e-05/0.3058, allocations: 33.7 kB / 0.9578 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.956e-05/0.3059, allocations: 120.5 kB / 0.9579 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.3059, allocations: 43.45 kB / 0.9579 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.306, allocations: 61.67 kB / 0.958 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.3062, allocations: 330.8 kB / 0.9583 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.3063, allocations: 63.95 kB / 0.9583 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002113/0.3065, allocations: 128.7 kB / 0.9585 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002681/0.3068, allocations: 216.9 kB / 0.9587 GB, free: 304 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3068, allocations: 0 / 0.9587 GB, free: 304 kB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005746/0.3074, allocations: 340.6 kB / 0.959 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.352e-05/0.3075, allocations: 63.39 kB / 0.9591 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.3075, allocations: 7.938 kB / 0.9591 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.3075, allocations: 0 / 0.9591 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.148e-05/0.3076, allocations: 19.94 kB / 0.9591 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.3076, allocations: 3.984 kB / 0.9591 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.3078, allocations: 23.84 kB / 0.9591 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/0.3078, allocations: 11.98 kB / 0.9591 GB, free: 15.8 MB / 0.7481 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.0001848/0.308, allocations: 151.7 kB / 0.9593 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.977e-05/0.3081, allocations: 15.81 kB / 0.9593 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002459/0.3083, allocations: 155.3 kB / 0.9594 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3083, allocations: 0 / 0.9594 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3083, allocations: 0 / 0.9594 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3083, allocations: 3.984 kB / 0.9594 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006331/0.309, allocations: 490.2 kB / 0.9599 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.309, allocations: 8 kB / 0.9599 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.193e-05/0.309, allocations: 11.88 kB / 0.9599 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3091, allocations: 0 / 0.9599 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.3091, allocations: 11.98 kB / 0.9599 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3091, allocations: 0 / 0.9599 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3091, allocations: 0 / 0.9599 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/0.3093, allocations: 237.7 kB / 0.9602 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.123e-05/0.3094, allocations: 108.9 kB / 0.9603 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.3094, allocations: 4 kB / 0.9603 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.3096, allocations: 11.98 kB / 0.9603 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.019e-05/0.3096, allocations: 19.97 kB / 0.9603 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/0.3097, allocations: 8 kB / 0.9603 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001163/0.3098, allocations: 145.5 kB / 0.9604 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3098, allocations: 0 / 0.9604 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003052/0.3101, allocations: 47.89 kB / 0.9605 GB, free: 14.31 MB / 0.7481 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.0002917/0.3104, allocations: 157.9 kB / 0.9606 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003766/0.3108, allocations: 258.6 kB / 0.9609 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3108, allocations: 0 / 0.9609 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 8.365e-05/0.3109, allocations: 51.92 kB / 0.9609 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.3113, allocations: 70.47 kB / 0.961 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005769/0.3119, allocations: 317.9 kB / 0.9613 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.3122, allocations: 0.736 MB / 0.962 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.132e-05/0.3122, allocations: 25.94 kB / 0.9621 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.213e-05/0.3123, allocations: 23.38 kB / 0.9621 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of SimCode: time 2.5e-07/0.3123, allocations: 0 / 0.9621 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of Templates: time 0.007233/0.3196, allocations: 3.554 MB / 0.9655 GB, free: 9.109 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches