Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009702/0.0009703, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001185/0.001185, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.972/2.972, allocations: 462.6 MB / 0.736 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003841/0.0003844, allocations: 9.906 kB / 0.9021 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.3882, allocations: 159.6 MB / 1.058 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002939/0.3912, allocations: 1.397 MB / 1.059 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00158/0.3928, allocations: 0.5736 MB / 1.06 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000155/0.393, allocations: 3.938 kB / 1.06 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002478/0.3932, allocations: 31.78 kB / 1.06 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004656/0.3937, allocations: 87.59 kB / 1.06 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005845/0.3943, allocations: 146.7 kB / 1.06 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003884/0.3947, allocations: 183.4 kB / 1.06 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.3949, allocations: 17.56 kB / 1.06 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002033/0.3951, allocations: 95.67 kB / 1.06 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007075/0.4022, allocations: 3.012 MB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.393e-05/0.4023, allocations: 8 kB / 1.063 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001667/0.4025, allocations: 24 kB / 1.063 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.747e-05/0.4026, allocations: 31.89 kB / 1.063 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.4027, allocations: 45.64 kB / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003682/0.4031, allocations: 131.7 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.4031, allocations: 0 / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.929e-06/0.4031, allocations: 0 / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.4031, allocations: 3.938 kB / 1.064 GB, free: 15.5 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001018/0.4041, allocations: 0.4919 MB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.4042, allocations: 12.03 kB / 1.064 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.4043, allocations: 19.81 kB / 1.064 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004128/0.4047, allocations: 230.8 kB / 1.064 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.05e-05/0.4048, allocations: 8 kB / 1.064 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.643e-05/0.4048, allocations: 12 kB / 1.064 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002534/0.4051, allocations: 85.53 kB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.4051, allocations: 0 / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.985e-05/0.4052, allocations: 8 kB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.4052, allocations: 0 / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.4053, allocations: 39.98 kB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.4065, allocations: 456.4 kB / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002057/0.4067, allocations: 70.55 kB / 1.065 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.993e-05/0.4068, allocations: 32.84 kB / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.4068, allocations: 0 / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002648/0.4071, allocations: 91.41 kB / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 2.064e-06/0.4071, allocations: 3.938 kB / 1.065 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.000456/0.4076, allocations: 129.4 kB / 1.065 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/0.4076, allocations: 55.41 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000303/0.408, allocations: 187.1 kB / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.131e-05/0.408, allocations: 33.7 kB / 1.066 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.4082, allocations: 116 kB / 1.066 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.174e-05/0.4082, allocations: 31.72 kB / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.448e-06/0.4082, allocations: 0 / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001889/0.4084, allocations: 330.8 kB / 1.066 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.146e-05/0.4085, allocations: 24 kB / 1.066 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003165/0.4089, allocations: 129.2 kB / 1.066 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.52e-05/0.409, allocations: 24 kB / 1.066 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.409, allocations: 4 kB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003421/0.4093, allocations: 141.3 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.4094, allocations: 4 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.4094, allocations: 4 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.4094, allocations: 0 / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.4095, allocations: 19.92 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.4096, allocations: 3.953 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000256/0.4098, allocations: 28.05 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.4098, allocations: 4 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,scaDel.active,$PRE.scaDel.tActivateLast,scaDel.tActivateLast,scaDel.sampleTrigger,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001713/0.41, allocations: 129.8 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-05/0.4101, allocations: 15.81 kB / 1.067 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.402e-05/0.4101, allocations: 21.39 kB / 1.067 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.4101, allocations: 0 / 1.067 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.4102, allocations: 0 / 1.067 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/0.4102, allocations: 7.953 kB / 1.067 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000737/0.4109, allocations: 426.3 kB / 1.067 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.4109, allocations: 7.922 kB / 1.067 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.451e-05/0.411, allocations: 7.938 kB / 1.067 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.411, allocations: 0 / 1.067 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.411, allocations: 7.953 kB / 1.067 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.411, allocations: 0 / 1.067 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.411, allocations: 4 kB / 1.067 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002662/0.4113, allocations: 199.8 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.448e-05/0.4114, allocations: 100.8 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.228e-05/0.4114, allocations: 4 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.4116, allocations: 15.94 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.498e-05/0.4117, allocations: 11.98 kB / 1.067 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.099e-05/0.4118, allocations: 7.984 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001738/0.4119, allocations: 141.2 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.385e-06/0.412, allocations: 0 / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005461/0.4125, allocations: 43.92 kB / 1.067 GB, free: 11.23 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: 11 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004719/0.413, allocations: 164 kB / 1.068 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000281/0.4133, allocations: 79.91 kB / 1.068 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4133, allocations: 0 / 1.068 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.4134, allocations: 39.92 kB / 1.068 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006056/0.414, allocations: 51.75 kB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008031/0.4148, allocations: 297.2 kB / 1.068 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004101/0.4153, allocations: 0.7127 MB / 1.069 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001199/0.4154, allocations: 25.47 kB / 1.069 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.876e-05/0.4155, allocations: 19.42 kB / 1.069 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of SimCode: time 3.61e-07/0.4155, allocations: 4 kB / 1.069 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of Templates: time 0.009608/0.4251, allocations: 2.987 MB / 1.072 GB, free: 6.867 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches