Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009681/0.0009682, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00647/0.00647, allocations: 171.3 kB / 16.27 MB, free: 6.652 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.494/1.494, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.861/2.861, allocations: 462.7 MB / 0.7364 GB, free: 268 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.0003508, allocations: 14.84 kB / 0.9028 GB, free: 36.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3789, allocations: 159.6 MB / 1.059 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.002281/0.3812, allocations: 1.541 MB / 1.06 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001895/0.3831, allocations: 0.9397 MB / 1.061 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001444/0.3833, allocations: 0 / 1.061 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001847/0.3835, allocations: 23.8 kB / 1.061 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003423/0.3839, allocations: 95.64 kB / 1.061 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004071/0.3843, allocations: 147.7 kB / 1.061 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002869/0.3846, allocations: 223.4 kB / 1.062 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.3847, allocations: 33.67 kB / 1.062 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.3849, allocations: 99.67 kB / 1.062 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04945/0.4343, allocations: 3.281 MB / 1.065 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001047/0.4345, allocations: 8 kB / 1.065 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.4346, allocations: 31.98 kB / 1.065 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.696e-05/0.4347, allocations: 27.91 kB / 1.065 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001751/0.4349, allocations: 121.1 kB / 1.065 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003499/0.4353, allocations: 195.3 kB / 1.065 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.4353, allocations: 0 / 1.065 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4353, allocations: 0 / 1.065 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.4353, allocations: 0 / 1.065 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.00087/0.4362, allocations: 0.5178 MB / 1.066 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.4362, allocations: 8.031 kB / 1.066 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.589e-05/0.4363, allocations: 20.75 kB / 1.066 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003281/0.4366, allocations: 248.6 kB / 1.066 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.4367, allocations: 12 kB / 1.066 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.637e-05/0.4367, allocations: 12 kB / 1.066 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/0.437, allocations: 112.7 kB / 1.066 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.437, allocations: 4 kB / 1.066 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.437, allocations: 7.984 kB / 1.066 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.437, allocations: 0 / 1.066 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.4372, allocations: 59.91 kB / 1.066 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000981/0.4381, allocations: 0.5512 MB / 1.067 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.4383, allocations: 97.12 kB / 1.067 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.594e-05/0.4384, allocations: 37.77 kB / 1.067 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.4384, allocations: 12.06 kB / 1.067 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000206/0.4387, allocations: 124 kB / 1.067 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.463e-06/0.4387, allocations: 0 / 1.067 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0003514/0.439, allocations: 165.6 kB / 1.067 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/0.4391, allocations: 81.09 kB / 1.067 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.4393, allocations: 204.3 kB / 1.067 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.954e-05/0.4394, allocations: 33.7 kB / 1.067 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.367e-05/0.4395, allocations: 120.5 kB / 1.068 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.4395, allocations: 31.56 kB / 1.068 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.723e-05/0.4396, allocations: 29.7 kB / 1.068 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.4397, allocations: 330.9 kB / 1.068 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.378e-05/0.4398, allocations: 35.98 kB / 1.068 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002427/0.44, allocations: 139.3 kB / 1.068 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.4402, allocations: 107.9 kB / 1.068 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.4402, allocations: 4 kB / 1.068 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002921/0.4405, allocations: 169.3 kB / 1.068 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.4405, allocations: 11.28 kB / 1.068 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.4405, allocations: 4 kB / 1.068 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.4406, allocations: 0 / 1.068 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.999e-05/0.4407, allocations: 15.98 kB / 1.068 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.4407, allocations: 7.938 kB / 1.068 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/0.4409, allocations: 31.83 kB / 1.068 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.4409, allocations: 8 kB / 1.068 GB, free: 11.88 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 (plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,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,$whenCondition1,$whenCondition3,$whenCondition4,plotConfiguration.activate_internal) * 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.000144/0.4411, allocations: 145 kB / 1.069 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.4411, allocations: 19.72 kB / 1.069 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.68e-05/0.4412, allocations: 17.53 kB / 1.069 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.4412, allocations: 7.938 kB / 1.069 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.4412, allocations: 0 / 1.069 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.4412, allocations: 3.984 kB / 1.069 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006298/0.4418, allocations: 474.2 kB / 1.069 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.4419, allocations: 0 / 1.069 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.894e-05/0.4419, allocations: 11.92 kB / 1.069 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.4419, allocations: 0 / 1.069 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.4419, allocations: 8 kB / 1.069 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.4419, allocations: 7.938 kB / 1.069 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4419, allocations: 0 / 1.069 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.4422, allocations: 225.2 kB / 1.069 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.57e-05/0.4423, allocations: 96.86 kB / 1.069 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.4423, allocations: 7.938 kB / 1.069 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.4425, allocations: 27.91 kB / 1.069 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.328e-05/0.4425, allocations: 15.98 kB / 1.069 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/0.4426, allocations: 11.98 kB / 1.07 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001357/0.4427, allocations: 148.2 kB / 1.07 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4427, allocations: 0 / 1.07 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003348/0.4431, allocations: 48 kB / 1.07 GB, free: 10.53 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.0003731/0.4434, allocations: 164 kB / 1.07 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002368/0.4437, allocations: 95.84 kB / 1.07 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4437, allocations: 0 / 1.07 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.4438, allocations: 52.3 kB / 1.07 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004573/0.4443, allocations: 51.89 kB / 1.07 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000685/0.445, allocations: 362.8 kB / 1.07 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.4453, allocations: 0.7285 MB / 1.071 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.32e-05/0.4454, allocations: 21.55 kB / 1.071 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.276e-05/0.4455, allocations: 23.42 kB / 1.071 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of SimCode: time 1.032e-06/0.4455, allocations: 0 / 1.071 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of Templates: time 0.007799/0.4533, allocations: 3.416 MB / 1.074 GB, free: 5.621 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches