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.001014/0.001014, allocations: 107.7 kB / 16.36 MB, free: 5.824 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.001554/0.001554, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.2/1.2, allocations: 222.9 MB / 241 MB, free: 15.15 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 1.965/1.965, allocations: 390.3 MB / 0.6655 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 62.97 kB / 0.814 GB, free: 32.63 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.2279, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003175/0.2311, allocations: 1.763 MB / 0.9528 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.2322, allocations: 0.6391 MB / 0.9535 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.306e-05/0.2323, allocations: 7.938 kB / 0.9535 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001736/0.2324, allocations: 27.73 kB / 0.9535 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003268/0.2328, allocations: 119.4 kB / 0.9536 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003242/0.2331, allocations: 155.7 kB / 0.9538 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002643/0.2334, allocations: 239.5 kB / 0.954 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.2335, allocations: 41.66 kB / 0.954 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.2337, allocations: 107.6 kB / 0.9541 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00553/0.2392, allocations: 1.044 MB / 0.9551 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.437e-05/0.2392, allocations: 20 kB / 0.9552 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.702e-05/0.2393, allocations: 43.97 kB / 0.9552 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.015e-05/0.2394, allocations: 39.84 kB / 0.9552 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.585e-05/0.2395, allocations: 95.5 kB / 0.9553 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.2398, allocations: 219.2 kB / 0.9555 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2398, allocations: 0 / 0.9555 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2398, allocations: 0 / 0.9555 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.2398, allocations: 0 / 0.9555 GB, free: 3.762 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.000689/0.2405, allocations: 0.5604 MB / 0.9561 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.2405, allocations: 12.03 kB / 0.9561 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.441e-05/0.2406, allocations: 24.66 kB / 0.9561 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.2409, allocations: 248.1 kB / 0.9564 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.2409, allocations: 12.38 kB / 0.9564 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.435e-05/0.241, allocations: 20.12 kB / 0.9564 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.2411, allocations: 109.5 kB / 0.9565 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.2412, allocations: 0 / 0.9565 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.2412, allocations: 8 kB / 0.9565 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.2412, allocations: 0 / 0.9565 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.2413, allocations: 59.91 kB / 0.9566 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007476/0.2421, allocations: 488.3 kB / 0.957 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002266/0.2423, allocations: 114.6 kB / 0.9571 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.899e-05/0.2424, allocations: 36.83 kB / 0.9572 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.2424, allocations: 11.98 kB / 0.9572 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001485/0.2425, allocations: 103.3 kB / 0.9573 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.2426, allocations: 8 kB / 0.9573 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16): time 0.0003273/0.2429, allocations: 175.7 kB / 0.9575 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.2429, allocations: 55.41 kB / 0.9575 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.2431, allocations: 215.6 kB / 0.9577 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/0.2432, allocations: 33.7 kB / 0.9577 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.234e-05/0.2432, allocations: 116.5 kB / 0.9579 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.302e-05/0.2433, allocations: 43.45 kB / 0.9579 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.031e-05/0.2434, allocations: 57.67 kB / 0.958 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.2435, allocations: 334.8 kB / 0.9583 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.2437, allocations: 67.89 kB / 0.9583 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001942/0.2439, allocations: 133.6 kB / 0.9585 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002582/0.2441, allocations: 216.8 kB / 0.9587 GB, free: 264 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2441, allocations: 0 / 0.9587 GB, free: 264 kB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005373/0.2447, allocations: 324.6 kB / 0.959 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.471e-05/0.2447, allocations: 71.48 kB / 0.959 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.2447, allocations: 7.938 kB / 0.9591 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.2448, allocations: 0 / 0.9591 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.512e-05/0.2448, allocations: 19.98 kB / 0.9591 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.2448, allocations: 0 / 0.9591 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.245, allocations: 27.83 kB / 0.9591 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.478e-05/0.2451, allocations: 19.92 kB / 0.9591 GB, free: 15.77 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.0001104/0.2452, allocations: 132.1 kB / 0.9592 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.2452, allocations: 23.8 kB / 0.9593 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002213/0.2454, allocations: 163.2 kB / 0.9594 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2454, allocations: 0 / 0.9594 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2455, allocations: 0 / 0.9594 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2455, allocations: 0 / 0.9594 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005055/0.246, allocations: 488.5 kB / 0.9599 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.246, allocations: 4 kB / 0.9599 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.812e-05/0.246, allocations: 8 kB / 0.9599 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.246, allocations: 0 / 0.9599 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.2461, allocations: 8 kB / 0.9599 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2461, allocations: 0 / 0.9599 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2461, allocations: 0 / 0.9599 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000217/0.2463, allocations: 247.2 kB / 0.9601 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.851e-05/0.2464, allocations: 104.8 kB / 0.9602 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.2464, allocations: 4 kB / 0.9603 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.879e-05/0.2465, allocations: 7.984 kB / 0.9603 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.272e-05/0.2466, allocations: 23.92 kB / 0.9603 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/0.2466, allocations: 11.98 kB / 0.9603 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001113/0.2467, allocations: 145.5 kB / 0.9604 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2467, allocations: 3.938 kB / 0.9604 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002812/0.247, allocations: 43.91 kB / 0.9605 GB, free: 14.28 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.0002746/0.2473, allocations: 159.5 kB / 0.9606 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003549/0.2476, allocations: 258.5 kB / 0.9609 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2477, allocations: 320 / 0.9609 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 8.135e-05/0.2477, allocations: 58.59 kB / 0.9609 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.2481, allocations: 67.86 kB / 0.961 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005163/0.2487, allocations: 315.4 kB / 0.9613 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.2489, allocations: 0.7319 MB / 0.962 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.865e-05/0.249, allocations: 29.92 kB / 0.962 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.945e-05/0.249, allocations: 27.42 kB / 0.9621 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.249, allocations: 0 / 0.9621 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of Templates: time 0.006321/0.2554, allocations: 3.551 MB / 0.9655 GB, free: 9.074 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 cvode -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