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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001501/0.001501, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001703/0.001703, allocations: 192.1 kB / 16.25 MB, free: 6.633 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.395/1.395, allocations: 222.9 MB / 239.9 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.795/2.795, allocations: 472.6 MB / 0.7448 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 70.22 kB / 0.9115 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.3964, allocations: 159.9 MB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003461/0.3999, allocations: 1.939 MB / 1.07 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00121/0.4012, allocations: 0.6509 MB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.791e-05/0.4013, allocations: 4 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002194/0.4015, allocations: 23.78 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003484/0.4019, allocations: 103.7 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.4022, allocations: 147.7 kB / 1.071 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002752/0.4025, allocations: 251.3 kB / 1.071 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.4026, allocations: 33.66 kB / 1.071 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.4028, allocations: 111.6 kB / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01284/0.4156, allocations: 1.031 MB / 1.072 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.198e-05/0.4157, allocations: 16 kB / 1.072 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.4159, allocations: 39.98 kB / 1.072 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.561e-05/0.416, allocations: 43.78 kB / 1.072 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.4161, allocations: 95.5 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003434/0.4164, allocations: 219.3 kB / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.4165, allocations: 0 / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4165, allocations: 7.938 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.263e-05/0.4165, allocations: 0 / 1.072 GB, free: 6.391 MB / 0.8262 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.0008941/0.4174, allocations: 0.5563 MB / 1.073 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.4174, allocations: 12.03 kB / 1.073 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.4175, allocations: 20.75 kB / 1.073 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003513/0.4179, allocations: 246 kB / 1.073 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.4179, allocations: 16.38 kB / 1.073 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.897e-05/0.418, allocations: 24.12 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.4182, allocations: 105.6 kB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.4182, allocations: 0 / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.4182, allocations: 8 kB / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.4182, allocations: 0 / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.4184, allocations: 55.97 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008653/0.4192, allocations: 0.4884 MB / 1.074 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002879/0.4195, allocations: 110.7 kB / 1.074 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.766e-05/0.4196, allocations: 39.52 kB / 1.074 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.4197, allocations: 7.938 kB / 1.074 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001711/0.4198, allocations: 113.5 kB / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.4198, allocations: 0 / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0003611/0.4202, allocations: 169.4 kB / 1.074 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.4203, allocations: 55.41 kB / 1.074 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.4205, allocations: 207.6 kB / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.272e-05/0.4205, allocations: 41.69 kB / 1.074 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.4207, allocations: 128.3 kB / 1.075 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.4207, allocations: 39.53 kB / 1.075 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.4208, allocations: 57.69 kB / 1.075 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.421, allocations: 334.8 kB / 1.075 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.4211, allocations: 59.95 kB / 1.075 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002175/0.4214, allocations: 130.3 kB / 1.075 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003009/0.4217, allocations: 217.3 kB / 1.075 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.4217, allocations: 0 / 1.075 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005881/0.4223, allocations: 332.5 kB / 1.076 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.311e-05/0.4223, allocations: 63.39 kB / 1.076 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.4223, allocations: 7.938 kB / 1.076 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.4224, allocations: 0 / 1.076 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.867e-05/0.4225, allocations: 23.92 kB / 1.076 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.4225, allocations: 0 / 1.076 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000193/0.4227, allocations: 31.98 kB / 1.076 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-05/0.4227, allocations: 11.98 kB / 1.076 GB, free: 2.418 MB / 0.8262 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.0001451/0.4229, allocations: 144 kB / 1.076 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.4229, allocations: 15.81 kB / 1.076 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000252/0.4232, allocations: 157.8 kB / 1.076 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.4232, allocations: 0 / 1.076 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.4232, allocations: 0 / 1.076 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.4232, allocations: 0 / 1.076 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000593/0.4238, allocations: 494.2 kB / 1.077 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.4238, allocations: 0 / 1.077 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.523e-05/0.4239, allocations: 11.92 kB / 1.077 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.4239, allocations: 0 / 1.077 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.4239, allocations: 11.94 kB / 1.077 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.4239, allocations: 0 / 1.077 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4239, allocations: 48 / 1.077 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/0.4242, allocations: 247.2 kB / 1.077 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.585e-05/0.4243, allocations: 112.7 kB / 1.077 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.4243, allocations: 4 kB / 1.077 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.4244, allocations: 7.984 kB / 1.077 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.846e-05/0.4245, allocations: 15.98 kB / 1.077 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.79e-05/0.4245, allocations: 8 kB / 1.077 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001223/0.4246, allocations: 149.5 kB / 1.077 GB, free: 0.9648 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4246, allocations: 0 / 1.077 GB, free: 0.9648 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003239/0.425, allocations: 44 kB / 1.077 GB, free: 0.9219 MB / 0.8262 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.0004024/0.4254, allocations: 173.1 kB / 1.077 GB, free: 0.7695 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004472/0.4258, allocations: 262.5 kB / 1.078 GB, free: 500 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4259, allocations: 0 / 1.078 GB, free: 500 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.452e-05/0.426, allocations: 47.92 kB / 1.078 GB, free: 452 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004482/0.4264, allocations: 68.66 kB / 1.078 GB, free: 388 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007226/0.4272, allocations: 377.4 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.4275, allocations: 0.7281 MB / 1.079 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001068/0.4276, allocations: 29.92 kB / 1.079 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.212e-05/0.4277, allocations: 27.42 kB / 1.079 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of SimCode: time 4.6e-07/0.4277, allocations: 4 kB / 1.079 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of Templates: time 0.008095/0.4358, allocations: 3.485 MB / 1.082 GB, free: 11.71 MB / 0.8419 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches