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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001815/0.001815, allocations: 107.6 kB / 16.41 MB, free: 6.492 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.001999/0.001999, allocations: 192.1 kB / 17.34 MB, free: 5.762 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.729/2.729, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 67.91 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9052/0.9066, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003337/0.9099, allocations: 1.781 MB / 1.21 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001301/0.9113, allocations: 0.6274 MB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/0.9114, allocations: 0 / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002145/0.9117, allocations: 27.72 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004607/0.9122, allocations: 123.4 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004192/0.9126, allocations: 159.1 kB / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003629/0.913, allocations: 243.4 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.9131, allocations: 37.67 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001761/0.9133, allocations: 99.73 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006054/0.9194, allocations: 1.058 MB / 1.212 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001042/0.9195, allocations: 16 kB / 1.212 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.9196, allocations: 36 kB / 1.212 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.691e-05/0.9197, allocations: 47.83 kB / 1.213 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.9199, allocations: 99.42 kB / 1.213 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004423/0.9203, allocations: 211.3 kB / 1.213 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.9203, allocations: 0 / 1.213 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.144e-06/0.9203, allocations: 0 / 1.213 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.699e-06/0.9204, allocations: 4 kB / 1.213 GB, free: 9.324 MB / 0.9356 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.0008948/0.9213, allocations: 0.5584 MB / 1.213 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.9213, allocations: 8.031 kB / 1.213 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.902e-05/0.9214, allocations: 24.75 kB / 1.213 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003645/0.9218, allocations: 248.1 kB / 1.214 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.9218, allocations: 8.375 kB / 1.214 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.789e-05/0.9219, allocations: 24.06 kB / 1.214 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.9221, allocations: 105.6 kB / 1.214 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.9221, allocations: 4 kB / 1.214 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.9222, allocations: 4 kB / 1.214 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.9222, allocations: 4 kB / 1.214 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.9223, allocations: 59.95 kB / 1.214 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009639/0.9233, allocations: 496.1 kB / 1.214 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002768/0.9236, allocations: 102.7 kB / 1.214 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.43e-05/0.9236, allocations: 40.83 kB / 1.214 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.9237, allocations: 11.88 kB / 1.214 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000162/0.9238, allocations: 102 kB / 1.215 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 2.344e-06/0.9238, allocations: 4 kB / 1.215 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.0003675/0.9242, allocations: 173.3 kB / 1.215 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.9243, allocations: 55.41 kB / 1.215 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.9245, allocations: 215.6 kB / 1.215 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.564e-05/0.9245, allocations: 33.7 kB / 1.215 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.463e-05/0.9246, allocations: 132.3 kB / 1.215 GB, free: 6.73 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.623e-05/0.9247, allocations: 35.55 kB / 1.215 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.9248, allocations: 61.67 kB / 1.215 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.9249, allocations: 330.8 kB / 1.216 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.9251, allocations: 63.95 kB / 1.216 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002189/0.9253, allocations: 129.9 kB / 1.216 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002941/0.9256, allocations: 213.3 kB / 1.216 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.9256, allocations: 0 / 1.216 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006094/0.9262, allocations: 328.5 kB / 1.216 GB, free: 5.5 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.208e-05/0.9263, allocations: 74.36 kB / 1.216 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.9263, allocations: 3.938 kB / 1.216 GB, free: 5.414 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.9264, allocations: 4 kB / 1.216 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.065e-05/0.9264, allocations: 19.92 kB / 1.216 GB, free: 5.391 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.9265, allocations: 7.984 kB / 1.216 GB, free: 5.383 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/0.9267, allocations: 23.83 kB / 1.216 GB, free: 5.359 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.952e-05/0.9267, allocations: 23.97 kB / 1.216 GB, free: 5.336 MB / 0.9356 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.0001535/0.9269, allocations: 140.1 kB / 1.217 GB, free: 5.191 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.492e-05/0.9269, allocations: 23.8 kB / 1.217 GB, free: 5.168 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002548/0.9272, allocations: 151.4 kB / 1.217 GB, free: 5.012 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.9272, allocations: 0 / 1.217 GB, free: 5.012 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.9272, allocations: 4 kB / 1.217 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.9272, allocations: 0 / 1.217 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006012/0.9278, allocations: 488.7 kB / 1.217 GB, free: 4.477 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.9278, allocations: 4 kB / 1.217 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.755e-05/0.9279, allocations: 11.94 kB / 1.217 GB, free: 4.461 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.9279, allocations: 7.938 kB / 1.217 GB, free: 4.453 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.9279, allocations: 4 kB / 1.217 GB, free: 4.449 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.9279, allocations: 0 / 1.217 GB, free: 4.449 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.9279, allocations: 0 / 1.217 GB, free: 4.449 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.9282, allocations: 239.2 kB / 1.217 GB, free: 4.199 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.342e-05/0.9283, allocations: 104.8 kB / 1.218 GB, free: 4.078 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.012e-05/0.9283, allocations: 8 kB / 1.218 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.9284, allocations: 7.984 kB / 1.218 GB, free: 4.062 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.671e-05/0.9285, allocations: 15.98 kB / 1.218 GB, free: 4.047 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/0.9285, allocations: 15.92 kB / 1.218 GB, free: 4.031 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001186/0.9287, allocations: 145.5 kB / 1.218 GB, free: 3.891 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.41e-07/0.9287, allocations: 0 / 1.218 GB, free: 3.891 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000324/0.929, allocations: 40 kB / 1.218 GB, free: 3.852 MB / 0.9356 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.0003666/0.9294, allocations: 165.3 kB / 1.218 GB, free: 3.703 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004048/0.9298, allocations: 246.7 kB / 1.218 GB, free: 3.438 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.9298, allocations: 320 / 1.218 GB, free: 3.438 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.688e-05/0.9299, allocations: 59.91 kB / 1.218 GB, free: 3.379 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004489/0.9304, allocations: 68.06 kB / 1.218 GB, free: 3.32 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000664/0.931, allocations: 344.9 kB / 1.219 GB, free: 2.953 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.9313, allocations: 0.7359 MB / 1.219 GB, free: 2.191 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.226e-05/0.9314, allocations: 23.44 kB / 1.219 GB, free: 2.168 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/0.9314, allocations: 0 / 1.219 GB, free: 2.168 MB / 0.9356 GB Notification: Performance of Templates: time 0.00621/0.9376, allocations: 3.284 MB / 1.223 GB, free: 14.9 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches