Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001588/0.001588, allocations: 193.9 kB / 16.25 MB, free: 6.621 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.467/1.467, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.882/2.882, allocations: 469.8 MB / 0.742 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 68.59 kB / 0.908 GB, free: 34.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3661, allocations: 159.2 MB / 1.063 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003796/0.37, allocations: 1.889 MB / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001788/0.3718, allocations: 0.9359 MB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.372, allocations: 3.938 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002308/0.3722, allocations: 15.86 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004344/0.3727, allocations: 103.6 kB / 1.066 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004139/0.3731, allocations: 137.6 kB / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003151/0.3734, allocations: 243.3 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.3736, allocations: 33.67 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001562/0.3737, allocations: 111.7 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02792/0.4017, allocations: 1.693 MB / 1.068 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001208/0.4018, allocations: 20 kB / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001797/0.402, allocations: 47.97 kB / 1.069 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.654e-05/0.4021, allocations: 39.78 kB / 1.069 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001677/0.4023, allocations: 91.56 kB / 1.069 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004642/0.4027, allocations: 203.4 kB / 1.069 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.4027, allocations: 0 / 1.069 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.774e-06/0.4028, allocations: 0 / 1.069 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.779e-05/0.4028, allocations: 3.938 kB / 1.069 GB, free: 9.516 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001147/0.4039, allocations: 0.5528 MB / 1.069 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.404, allocations: 8.031 kB / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.4041, allocations: 24.73 kB / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004015/0.4045, allocations: 247.4 kB / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.4046, allocations: 8 kB / 1.07 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.524e-05/0.4046, allocations: 19.94 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.4048, allocations: 91.19 kB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.4049, allocations: 4 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.4049, allocations: 4 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.4049, allocations: 0 / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.4051, allocations: 59.86 kB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00096/0.406, allocations: 464.4 kB / 1.07 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004731/0.4065, allocations: 134.7 kB / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.076e-05/0.4066, allocations: 36.84 kB / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.4066, allocations: 4 kB / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002451/0.4069, allocations: 115.2 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 2.024e-06/0.4069, allocations: 3.938 kB / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0004154/0.4073, allocations: 159.9 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.4074, allocations: 63.33 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002309/0.4076, allocations: 196.3 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.118e-05/0.4077, allocations: 33.7 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.4078, allocations: 124.5 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.143e-05/0.4078, allocations: 35.55 kB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.408, allocations: 57.67 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.4081, allocations: 326.8 kB / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.075e-05/0.4082, allocations: 35.98 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002585/0.4084, allocations: 131.5 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.4086, allocations: 96.22 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4086, allocations: 0 / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002623/0.4089, allocations: 155.5 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.4089, allocations: 7.938 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.211e-05/0.4089, allocations: 4 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.409, allocations: 3.938 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.744e-05/0.409, allocations: 19.98 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.409, allocations: 4 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/0.4093, allocations: 23.83 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.4093, allocations: 8 kB / 1.072 GB, free: 6.031 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: 19 ($whenCondition3,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,scaDel.sampleTrigger,scaDel.tActivateLast,$PRE.scaDel.tActivateLast,scaDel.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * 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.0001505/0.4094, allocations: 147.6 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.321e-05/0.4095, allocations: 19.75 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.688e-05/0.4095, allocations: 21.88 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.4095, allocations: 4 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4096, allocations: 0 / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.4096, allocations: 3.984 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007153/0.4103, allocations: 498 kB / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.4103, allocations: 0 / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.745e-05/0.4103, allocations: 7.938 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.4103, allocations: 0 / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.4104, allocations: 7.984 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.4104, allocations: 3.938 kB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4104, allocations: 0 / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.4106, allocations: 233.4 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.393e-05/0.4107, allocations: 88.92 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.4107, allocations: 8 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.4109, allocations: 11.92 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.463e-05/0.411, allocations: 23.97 kB / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/0.411, allocations: 4 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001385/0.4111, allocations: 148.2 kB / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4111, allocations: 0 / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003178/0.4115, allocations: 51.92 kB / 1.073 GB, free: 4.676 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: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0004349/0.4119, allocations: 188.9 kB / 1.073 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002636/0.4122, allocations: 103.9 kB / 1.074 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.4122, allocations: 0 / 1.074 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.4123, allocations: 51.92 kB / 1.074 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004378/0.4127, allocations: 56.19 kB / 1.074 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007398/0.4135, allocations: 367.4 kB / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/0.4139, allocations: 0.7164 MB / 1.075 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000123/0.414, allocations: 21.53 kB / 1.075 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.135e-05/0.4141, allocations: 27.44 kB / 1.075 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.4141, allocations: 0 / 1.075 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of Templates: time 0.009778/0.4239, allocations: 3.599 MB / 1.078 GB, free: 15.56 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches