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.001608/0.001609, allocations: 102.9 kB / 16.4 MB, free: 6.465 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.00182/0.00182, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.635/2.635, allocations: 461.9 MB / 0.7354 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 67.91 kB / 1.055 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9114/0.9129, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003365/0.9163, allocations: 1.785 MB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001248/0.9176, allocations: 0.6274 MB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001392/0.9177, allocations: 0 / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002224/0.918, allocations: 27.67 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004748/0.9185, allocations: 127.4 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004603/0.919, allocations: 154.6 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003699/0.9193, allocations: 243.5 kB / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.9195, allocations: 37.66 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001904/0.9197, allocations: 111.6 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006277/0.926, allocations: 1.045 MB / 1.212 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.483e-05/0.9261, allocations: 16 kB / 1.212 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.9262, allocations: 39.98 kB / 1.212 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.129e-05/0.9263, allocations: 43.84 kB / 1.213 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.9264, allocations: 99.48 kB / 1.213 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003857/0.9268, allocations: 219.3 kB / 1.213 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.9268, allocations: 0 / 1.213 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.847e-06/0.9268, allocations: 0 / 1.213 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.499e-05/0.9268, allocations: 3.938 kB / 1.213 GB, free: 9.258 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.0008661/0.9277, allocations: 0.5545 MB / 1.213 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.9278, allocations: 8.031 kB / 1.213 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.794e-05/0.9279, allocations: 28.73 kB / 1.213 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003529/0.9282, allocations: 252 kB / 1.214 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.9283, allocations: 12.38 kB / 1.214 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.783e-05/0.9283, allocations: 20.12 kB / 1.214 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.9285, allocations: 103.7 kB / 1.214 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.9285, allocations: 0 / 1.214 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.9285, allocations: 4 kB / 1.214 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.9286, allocations: 7.938 kB / 1.214 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.9287, allocations: 63.95 kB / 1.214 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008859/0.9296, allocations: 492.1 kB / 1.214 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002758/0.9299, allocations: 110.6 kB / 1.214 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.674e-05/0.9299, allocations: 40.89 kB / 1.214 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.93, allocations: 7.969 kB / 1.214 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001595/0.9302, allocations: 99.36 kB / 1.215 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.823e-06/0.9302, allocations: 0 / 1.215 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.0003659/0.9305, allocations: 179.8 kB / 1.215 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.9306, allocations: 59.39 kB / 1.215 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.9308, allocations: 203.7 kB / 1.215 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.258e-05/0.9308, allocations: 37.7 kB / 1.215 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.931, allocations: 128.3 kB / 1.215 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.587e-05/0.931, allocations: 39.55 kB / 1.215 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.9311, allocations: 65.66 kB / 1.215 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.9312, allocations: 326.8 kB / 1.216 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/0.9314, allocations: 63.89 kB / 1.216 GB, free: 6.168 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002304/0.9316, allocations: 131.7 kB / 1.216 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003071/0.932, allocations: 213.3 kB / 1.216 GB, free: 5.77 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.932, allocations: 4 kB / 1.216 GB, free: 5.766 MB / 0.9356 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005958/0.9326, allocations: 328 kB / 1.216 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.897e-05/0.9326, allocations: 71.38 kB / 1.216 GB, free: 5.348 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.9327, allocations: 3.938 kB / 1.216 GB, free: 5.344 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.9327, allocations: 4 kB / 1.216 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.546e-05/0.9328, allocations: 19.94 kB / 1.216 GB, free: 5.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.9328, allocations: 4 kB / 1.216 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002105/0.933, allocations: 27.98 kB / 1.216 GB, free: 5.289 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.07e-05/0.933, allocations: 15.98 kB / 1.216 GB, free: 5.273 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.0001545/0.9332, allocations: 144 kB / 1.217 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.393e-05/0.9332, allocations: 15.81 kB / 1.217 GB, free: 5.109 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002539/0.9335, allocations: 151.3 kB / 1.217 GB, free: 4.953 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.9335, allocations: 4.047 kB / 1.217 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.9335, allocations: 3.984 kB / 1.217 GB, free: 4.945 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.9335, allocations: 0 / 1.217 GB, free: 4.945 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005811/0.9341, allocations: 497.1 kB / 1.217 GB, free: 4.406 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.9341, allocations: 0 / 1.217 GB, free: 4.406 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.198e-05/0.9342, allocations: 8 kB / 1.217 GB, free: 4.398 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.9342, allocations: 0 / 1.217 GB, free: 4.398 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.9342, allocations: 0 / 1.217 GB, free: 4.398 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.9342, allocations: 11.92 kB / 1.217 GB, free: 4.387 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.9342, allocations: 0 / 1.217 GB, free: 4.387 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.9345, allocations: 243.1 kB / 1.217 GB, free: 4.133 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.488e-05/0.9345, allocations: 104.8 kB / 1.218 GB, free: 4.012 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.9346, allocations: 4 kB / 1.218 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.9347, allocations: 15.98 kB / 1.218 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.048e-05/0.9348, allocations: 11.98 kB / 1.218 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.506e-05/0.9348, allocations: 11.98 kB / 1.218 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001281/0.9349, allocations: 141.5 kB / 1.218 GB, free: 3.832 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9349, allocations: 3.938 kB / 1.218 GB, free: 3.828 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003319/0.9353, allocations: 44 kB / 1.218 GB, free: 3.785 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.0003333/0.9356, allocations: 166.2 kB / 1.218 GB, free: 3.633 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004072/0.936, allocations: 257.7 kB / 1.218 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.936, allocations: 0 / 1.218 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.094e-05/0.9361, allocations: 47.92 kB / 1.218 GB, free: 3.312 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004399/0.9366, allocations: 68.17 kB / 1.218 GB, free: 3.25 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006584/0.9373, allocations: 355.5 kB / 1.219 GB, free: 2.875 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.9375, allocations: 0.7242 MB / 1.219 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.907e-05/0.9376, allocations: 19.44 kB / 1.219 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.9376, allocations: 0 / 1.219 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of Templates: time 0.005905/0.9435, allocations: 3.288 MB / 1.223 GB, free: 14.83 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