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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001537/0.001537, allocations: 105.3 kB / 15.98 MB, free: 6.352 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.001601/0.001601, allocations: 195.3 kB / 16.91 MB, free: 6.184 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.378/1.378, allocations: 222.9 MB / 240.6 MB, free: 13.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.262/2.262, allocations: 390.3 MB / 0.665 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 61.95 kB / 0.8127 GB, free: 32.45 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3512, allocations: 140.4 MB / 0.9498 GB, free: 9.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003739/0.355, allocations: 1.934 MB / 0.9516 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001367/0.3564, allocations: 0.6509 MB / 0.9523 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001696/0.3566, allocations: 0 / 0.9523 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002836/0.3569, allocations: 27.8 kB / 0.9523 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0006101/0.3575, allocations: 103.6 kB / 0.9524 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004688/0.358, allocations: 143.7 kB / 0.9525 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003527/0.3584, allocations: 251.3 kB / 0.9528 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.3586, allocations: 41.66 kB / 0.9528 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001908/0.3588, allocations: 107.7 kB / 0.9529 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01342/0.3722, allocations: 1.046 MB / 0.954 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.781e-05/0.3723, allocations: 16 kB / 0.954 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001443/0.3725, allocations: 32 kB / 0.954 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.621e-05/0.3725, allocations: 51.77 kB / 0.954 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.3727, allocations: 95.5 kB / 0.9541 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003253/0.373, allocations: 147.8 kB / 0.9543 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.373, allocations: 0 / 0.9543 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.655e-06/0.3731, allocations: 0 / 0.9543 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.639e-05/0.3731, allocations: 0 / 0.9543 GB, free: 4.895 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.0009342/0.374, allocations: 0.5679 MB / 0.9548 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.3741, allocations: 12.03 kB / 0.9548 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.3742, allocations: 24.66 kB / 0.9549 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003898/0.3746, allocations: 236.2 kB / 0.9551 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.3746, allocations: 12.38 kB / 0.9551 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.633e-05/0.3747, allocations: 28.05 kB / 0.9551 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002389/0.3749, allocations: 105.5 kB / 0.9552 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.3749, allocations: 0 / 0.9552 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.375, allocations: 12 kB / 0.9552 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.375, allocations: 0 / 0.9552 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.3751, allocations: 55.97 kB / 0.9553 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009597/0.3761, allocations: 492.2 kB / 0.9558 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002904/0.3764, allocations: 114.7 kB / 0.9559 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.684e-05/0.3764, allocations: 32.84 kB / 0.9559 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.3765, allocations: 4 kB / 0.9559 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000179/0.3767, allocations: 111.3 kB / 0.956 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.3767, allocations: 0 / 0.956 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16): time 0.0003973/0.3771, allocations: 171.9 kB / 0.9562 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.3771, allocations: 63.33 kB / 0.9562 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.3774, allocations: 211.6 kB / 0.9564 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.239e-05/0.3774, allocations: 29.7 kB / 0.9565 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.3775, allocations: 124.5 kB / 0.9566 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.934e-05/0.3776, allocations: 39.47 kB / 0.9566 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.3777, allocations: 65.67 kB / 0.9567 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.3778, allocations: 334.8 kB / 0.957 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.378, allocations: 59.95 kB / 0.9571 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/0.3783, allocations: 125.7 kB / 0.9572 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003268/0.3786, allocations: 225.2 kB / 0.9574 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.3786, allocations: 0 / 0.9574 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006351/0.3793, allocations: 336.6 kB / 0.9577 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.298e-05/0.3793, allocations: 63.39 kB / 0.9578 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.3793, allocations: 7.938 kB / 0.9578 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.3794, allocations: 0 / 0.9578 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.654e-05/0.3795, allocations: 23.92 kB / 0.9578 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.3795, allocations: 0 / 0.9578 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.3797, allocations: 27.83 kB / 0.9578 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.737e-05/0.3797, allocations: 8 kB / 0.9578 GB, free: 0.9141 MB / 0.7325 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.0001562/0.3799, allocations: 148.1 kB / 0.958 GB, free: 0.7617 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.48e-05/0.3799, allocations: 15.81 kB / 0.958 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002738/0.3802, allocations: 159.3 kB / 0.9582 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.3802, allocations: 0 / 0.9582 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.3803, allocations: 3.984 kB / 0.9582 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.3803, allocations: 0 / 0.9582 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006158/0.3809, allocations: 490.2 kB / 0.9586 GB, free: 52 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.3809, allocations: 4 kB / 0.9586 GB, free: 48 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.667e-05/0.381, allocations: 15.92 kB / 0.9586 GB, free: 32 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.381, allocations: 0 / 0.9586 GB, free: 32 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.381, allocations: 4 kB / 0.9586 GB, free: 28 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.381, allocations: 0 / 0.9586 GB, free: 28 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.381, allocations: 3.984 kB / 0.9587 GB, free: 24 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/0.3813, allocations: 236.9 kB / 0.9589 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.184e-05/0.3814, allocations: 108.9 kB / 0.959 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.3814, allocations: 11.98 kB / 0.959 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.3815, allocations: 4 kB / 0.959 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.382e-05/0.3816, allocations: 19.97 kB / 0.959 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.948e-05/0.3816, allocations: 8 kB / 0.959 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001313/0.3818, allocations: 145.5 kB / 0.9592 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3818, allocations: 0 / 0.9592 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003499/0.3821, allocations: 47.89 kB / 0.9592 GB, free: 15.42 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.0003823/0.3825, allocations: 174.8 kB / 0.9594 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004629/0.383, allocations: 262.5 kB / 0.9596 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.383, allocations: 4 kB / 0.9596 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 9.679e-05/0.3831, allocations: 50.88 kB / 0.9597 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004541/0.3836, allocations: 60.55 kB / 0.9597 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007424/0.3843, allocations: 401.4 kB / 0.9601 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.3846, allocations: 0.7319 MB / 0.9608 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.225e-05/0.3847, allocations: 23.42 kB / 0.9609 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of SimCode: time 6.11e-07/0.3847, allocations: 0 / 0.9609 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of Templates: time 0.006377/0.3911, allocations: 3.274 MB / 0.9641 GB, free: 10.41 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 -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