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.001518/0.001518, allocations: 103.5 kB / 15.98 MB, free: 6.348 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.001494/0.001495, allocations: 196.6 kB / 16.91 MB, free: 6.188 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.423/1.423, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.684/2.684, allocations: 469.8 MB / 0.7427 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 63.16 kB / 0.9087 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.337, allocations: 159.2 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003595/0.3406, allocations: 1.88 MB / 1.066 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001722/0.3424, allocations: 0.932 MB / 1.067 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.174e-05/0.3425, allocations: 7.938 kB / 1.067 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002034/0.3427, allocations: 23.86 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003353/0.3431, allocations: 95.66 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003574/0.3434, allocations: 147 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003067/0.3437, allocations: 247.3 kB / 1.067 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.3439, allocations: 37.66 kB / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.344, allocations: 107.7 kB / 1.068 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02768/0.3717, allocations: 1.687 MB / 1.069 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.569e-05/0.3718, allocations: 16 kB / 1.069 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.3719, allocations: 36 kB / 1.069 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.858e-05/0.372, allocations: 43.83 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.3722, allocations: 99.5 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002639/0.3724, allocations: 143.8 kB / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3725, allocations: 0 / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3725, allocations: 0 / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.3725, allocations: 0 / 1.069 GB, free: 10.06 MB / 0.8419 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.0009043/0.3734, allocations: 0.5527 MB / 1.07 GB, free: 9.449 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.3734, allocations: 8.031 kB / 1.07 GB, free: 9.441 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.588e-05/0.3735, allocations: 24.75 kB / 1.07 GB, free: 9.418 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003198/0.3738, allocations: 252.6 kB / 1.07 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.3739, allocations: 4 kB / 1.07 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.923e-05/0.3739, allocations: 19.94 kB / 1.07 GB, free: 9.109 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002144/0.3741, allocations: 91.55 kB / 1.07 GB, free: 9.016 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.3742, allocations: 0 / 1.07 GB, free: 9.016 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.3742, allocations: 3.984 kB / 1.07 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.3742, allocations: 0 / 1.07 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.3743, allocations: 63.86 kB / 1.07 GB, free: 8.949 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008466/0.3752, allocations: 460.4 kB / 1.071 GB, free: 8.449 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004467/0.3756, allocations: 138.7 kB / 1.071 GB, free: 8.305 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.829e-05/0.3757, allocations: 40.84 kB / 1.071 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.3757, allocations: 0 / 1.071 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002106/0.3759, allocations: 115.2 kB / 1.071 GB, free: 8.137 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 1.332e-06/0.376, allocations: 0 / 1.071 GB, free: 8.137 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.0003679/0.3763, allocations: 168.1 kB / 1.071 GB, free: 7.969 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/0.3764, allocations: 59.34 kB / 1.071 GB, free: 7.898 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/0.3766, allocations: 200.2 kB / 1.072 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.285e-05/0.3767, allocations: 33.7 kB / 1.072 GB, free: 7.652 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.714e-05/0.3768, allocations: 116.5 kB / 1.072 GB, free: 7.535 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.122e-05/0.3768, allocations: 39.53 kB / 1.072 GB, free: 7.496 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.954e-05/0.3769, allocations: 53.69 kB / 1.072 GB, free: 7.438 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3771, allocations: 334.8 kB / 1.072 GB, free: 7.102 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.215e-05/0.3772, allocations: 35.98 kB / 1.072 GB, free: 7.066 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002584/0.3774, allocations: 127.5 kB / 1.072 GB, free: 6.914 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.3776, allocations: 96.23 kB / 1.072 GB, free: 6.805 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3776, allocations: 0 / 1.072 GB, free: 6.805 MB / 0.8419 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002705/0.3779, allocations: 159.8 kB / 1.073 GB, free: 6.645 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.3779, allocations: 4 kB / 1.073 GB, free: 6.641 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.3779, allocations: 4 kB / 1.073 GB, free: 6.637 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.3779, allocations: 4.125 kB / 1.073 GB, free: 6.633 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.032e-05/0.378, allocations: 15.94 kB / 1.073 GB, free: 6.617 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.378, allocations: 7.984 kB / 1.073 GB, free: 6.609 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002244/0.3783, allocations: 31.81 kB / 1.073 GB, free: 6.578 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.3783, allocations: 8 kB / 1.073 GB, free: 6.57 MB / 0.8419 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.0001614/0.3784, allocations: 141.7 kB / 1.073 GB, free: 6.426 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.3785, allocations: 15.81 kB / 1.073 GB, free: 6.41 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.296e-05/0.3785, allocations: 25.86 kB / 1.073 GB, free: 6.383 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3785, allocations: 4 kB / 1.073 GB, free: 6.379 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3786, allocations: 0 / 1.073 GB, free: 6.379 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3786, allocations: 0 / 1.073 GB, free: 6.379 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007289/0.3793, allocations: 498 kB / 1.073 GB, free: 5.836 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3793, allocations: 3.938 kB / 1.073 GB, free: 5.832 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.859e-05/0.3793, allocations: 8 kB / 1.073 GB, free: 5.824 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.3794, allocations: 7.938 kB / 1.073 GB, free: 5.816 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.3794, allocations: 0 / 1.073 GB, free: 5.816 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3794, allocations: 3.938 kB / 1.073 GB, free: 5.812 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3794, allocations: 0 / 1.073 GB, free: 5.812 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.3796, allocations: 227.3 kB / 1.074 GB, free: 5.574 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.58e-05/0.3797, allocations: 96.92 kB / 1.074 GB, free: 5.461 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.3798, allocations: 7.922 kB / 1.074 GB, free: 5.453 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.3799, allocations: 19.92 kB / 1.074 GB, free: 5.434 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.37e-05/0.38, allocations: 23.97 kB / 1.074 GB, free: 5.41 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/0.38, allocations: 4 kB / 1.074 GB, free: 5.406 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001427/0.3802, allocations: 144.2 kB / 1.074 GB, free: 5.266 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3802, allocations: 0 / 1.074 GB, free: 5.266 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003128/0.3805, allocations: 47.94 kB / 1.074 GB, free: 5.219 MB / 0.8419 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.0004175/0.3809, allocations: 169.6 kB / 1.074 GB, free: 5.066 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002538/0.3812, allocations: 104.1 kB / 1.074 GB, free: 4.965 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3812, allocations: 4.062 kB / 1.074 GB, free: 4.961 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.961e-05/0.3813, allocations: 47.92 kB / 1.074 GB, free: 4.914 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004422/0.3817, allocations: 63.19 kB / 1.074 GB, free: 4.855 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007515/0.3825, allocations: 380.9 kB / 1.075 GB, free: 4.449 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/0.3829, allocations: 0.7359 MB / 1.075 GB, free: 3.688 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7e-05/0.383, allocations: 23.42 kB / 1.075 GB, free: 3.664 MB / 0.8419 GB Notification: Performance of SimCode: time 3e-07/0.383, allocations: 0 / 1.075 GB, free: 3.664 MB / 0.8419 GB Notification: Performance of Templates: time 0.005784/0.3888, allocations: 3.225 MB / 1.078 GB, free: 472 kB / 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches