Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00162/0.00162, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001767/0.001767, allocations: 195.5 kB / 16.14 MB, free: 6.645 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.449/1.449, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.416/2.416, allocations: 390.2 MB / 0.6642 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 63.91 kB / 0.8118 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7392/0.7405, allocations: 140.4 MB / 0.9489 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003356/0.7439, allocations: 1.887 MB / 0.9508 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001542/0.7454, allocations: 0.9441 MB / 0.9517 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.766e-05/0.7456, allocations: 5.156 kB / 0.9517 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002584/0.7458, allocations: 20.95 kB / 0.9517 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003145/0.7462, allocations: 90.72 kB / 0.9518 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003798/0.7465, allocations: 142.7 kB / 0.9519 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002617/0.7468, allocations: 220.2 kB / 0.9521 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001748/0.747, allocations: 44.81 kB / 0.9522 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.7471, allocations: 99.62 kB / 0.9523 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02169/0.7688, allocations: 1.557 MB / 0.9538 GB, free: 6 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001421/0.769, allocations: 14.19 kB / 0.9538 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002277/0.7692, allocations: 32.62 kB / 0.9538 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.7694, allocations: 35.28 kB / 0.9539 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001772/0.7695, allocations: 83.16 kB / 0.9539 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003318/0.7699, allocations: 205.7 kB / 0.9541 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.7699, allocations: 1.094 kB / 0.9541 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7699, allocations: 0 / 0.9541 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.7699, allocations: 0 / 0.9541 GB, free: 5.75 MB / 0.7169 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.0008889/0.7708, allocations: 0.5541 MB / 0.9547 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 7.108e-05/0.7709, allocations: 9.094 kB / 0.9547 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.277e-05/0.771, allocations: 24.14 kB / 0.9547 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.7713, allocations: 242.4 kB / 0.9549 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.7713, allocations: 10.19 kB / 0.955 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.087e-05/0.7713, allocations: 14.69 kB / 0.955 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.7715, allocations: 94.23 kB / 0.9551 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.7715, allocations: 0 / 0.9551 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.7716, allocations: 6.5 kB / 0.9551 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.7716, allocations: 3.25 kB / 0.9551 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.7717, allocations: 57.06 kB / 0.9551 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000736/0.7724, allocations: 462.9 kB / 0.9556 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000439/0.7729, allocations: 139.9 kB / 0.9557 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.708e-05/0.773, allocations: 34.69 kB / 0.9557 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.773, allocations: 1.281 kB / 0.9557 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000196/0.7732, allocations: 120.2 kB / 0.9558 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.505e-06/0.7732, allocations: 0 / 0.9558 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0003662/0.7736, allocations: 170.6 kB / 0.956 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.7736, allocations: 59.05 kB / 0.9561 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.7738, allocations: 198.5 kB / 0.9563 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.7739, allocations: 33.77 kB / 0.9563 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.666e-05/0.7739, allocations: 129.9 kB / 0.9564 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.063e-05/0.774, allocations: 29.19 kB / 0.9564 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.368e-05/0.7741, allocations: 60.23 kB / 0.9565 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.4e-05/0.7742, allocations: 328.1 kB / 0.9568 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.641e-05/0.7742, allocations: 30.02 kB / 0.9568 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.7745, allocations: 135 kB / 0.957 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.7746, allocations: 104.7 kB / 0.9571 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.7746, allocations: 1.531 kB / 0.9571 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002461/0.7749, allocations: 148.8 kB / 0.9572 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.7749, allocations: 11.34 kB / 0.9572 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.7749, allocations: 5.25 kB / 0.9572 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.7749, allocations: 1.344 kB / 0.9572 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.446e-05/0.775, allocations: 16.77 kB / 0.9572 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.775, allocations: 1.469 kB / 0.9572 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/0.7752, allocations: 27.77 kB / 0.9573 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.7753, allocations: 13.48 kB / 0.9573 GB, free: 3.023 MB / 0.7169 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.0001177/0.7754, allocations: 139.8 kB / 0.9574 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.914e-05/0.7754, allocations: 20.06 kB / 0.9574 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.477e-05/0.7755, allocations: 22 kB / 0.9575 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.7755, allocations: 1.375 kB / 0.9575 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.7755, allocations: 1.375 kB / 0.9575 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.7755, allocations: 3.984 kB / 0.9575 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005676/0.7761, allocations: 493.5 kB / 0.9579 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.7761, allocations: 8 kB / 0.9579 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.504e-05/0.7761, allocations: 10.62 kB / 0.958 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-06/0.7761, allocations: 1.375 kB / 0.958 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.7761, allocations: 9.359 kB / 0.958 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.7762, allocations: 9.25 kB / 0.958 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.7762, allocations: 0 / 0.958 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/0.7764, allocations: 222.8 kB / 0.9582 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.73e-05/0.7764, allocations: 93.17 kB / 0.9583 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.7765, allocations: 5.156 kB / 0.9583 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.7766, allocations: 18.98 kB / 0.9583 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.184e-05/0.7767, allocations: 24.88 kB / 0.9583 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.633e-05/0.7767, allocations: 9.891 kB / 0.9583 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001032/0.7768, allocations: 136.8 kB / 0.9585 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7768, allocations: 0 / 0.9585 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000306/0.7771, allocations: 47.67 kB / 0.9585 GB, free: 1.977 MB / 0.7169 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.0003345/0.7775, allocations: 157.7 kB / 0.9587 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002396/0.7777, allocations: 103.3 kB / 0.9588 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.7777, allocations: 0 / 0.9588 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.7778, allocations: 52.61 kB / 0.9588 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004216/0.7783, allocations: 55.86 kB / 0.9589 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000669/0.7789, allocations: 355.4 kB / 0.9592 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000189/0.7791, allocations: 0.7214 MB / 0.9599 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.273e-05/0.7792, allocations: 27.36 kB / 0.9599 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.708e-05/0.7793, allocations: 19.03 kB / 0.9599 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.7793, allocations: 0.7812 kB / 0.9599 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of Templates: time 0.008833/0.7881, allocations: 3.494 MB / 0.9634 GB, free: 15.01 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches