Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002044/0.002044, allocations: 213.6 kB / 22.24 MB, free: 5.238 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.496/1.496, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.305/3.305, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 62.75 kB / 1.186 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3469, allocations: 181.9 MB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003297/0.3502, allocations: 1.724 MB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001673/0.3518, allocations: 0.9096 MB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.722e-05/0.3519, allocations: 4 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000186/0.3521, allocations: 35.66 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003642/0.3525, allocations: 111.5 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003577/0.3528, allocations: 158.3 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003301/0.3532, allocations: 243.4 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.3533, allocations: 25.72 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.3534, allocations: 119.6 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01609/0.3695, allocations: 2.025 MB / 1.369 GB, free: 8.77 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.811e-05/0.3696, allocations: 19.98 kB / 1.369 GB, free: 8.75 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.3697, allocations: 36 kB / 1.369 GB, free: 8.715 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.767e-05/0.3698, allocations: 43.78 kB / 1.369 GB, free: 8.672 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.3699, allocations: 91.55 kB / 1.369 GB, free: 8.582 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004081/0.3704, allocations: 211.2 kB / 1.369 GB, free: 8.375 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.3704, allocations: 3.984 kB / 1.369 GB, free: 8.371 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3704, allocations: 0 / 1.369 GB, free: 8.371 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.3704, allocations: 0 / 1.369 GB, free: 8.371 MB / 1.061 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.0008865/0.3713, allocations: 492.7 kB / 1.37 GB, free: 7.848 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.3713, allocations: 11.97 kB / 1.37 GB, free: 7.836 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.476e-05/0.3714, allocations: 24.84 kB / 1.37 GB, free: 7.812 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.3717, allocations: 185.8 kB / 1.37 GB, free: 7.605 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.3717, allocations: 8 kB / 1.37 GB, free: 7.598 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.189e-05/0.3718, allocations: 16 kB / 1.37 GB, free: 7.582 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.372, allocations: 94.97 kB / 1.37 GB, free: 7.484 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.372, allocations: 0 / 1.37 GB, free: 7.484 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.372, allocations: 4 kB / 1.37 GB, free: 7.48 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.372, allocations: 7.938 kB / 1.37 GB, free: 7.473 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.3721, allocations: 51.97 kB / 1.37 GB, free: 7.422 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007491/0.3728, allocations: 364.2 kB / 1.371 GB, free: 7.035 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004217/0.3733, allocations: 122.7 kB / 1.371 GB, free: 6.906 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.316e-05/0.3733, allocations: 36.84 kB / 1.371 GB, free: 6.867 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.3734, allocations: 0 / 1.371 GB, free: 6.867 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00025/0.3736, allocations: 119.4 kB / 1.371 GB, free: 6.738 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.273e-06/0.3736, allocations: 0 / 1.371 GB, free: 6.738 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.0003728/0.374, allocations: 172.2 kB / 1.371 GB, free: 6.566 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.374, allocations: 55.41 kB / 1.371 GB, free: 6.5 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002214/0.3742, allocations: 198.5 kB / 1.371 GB, free: 6.293 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.561e-05/0.3743, allocations: 33.7 kB / 1.371 GB, free: 6.254 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.3744, allocations: 116.5 kB / 1.371 GB, free: 6.137 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.072e-05/0.3744, allocations: 47.67 kB / 1.371 GB, free: 6.09 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.914e-05/0.3745, allocations: 53.69 kB / 1.372 GB, free: 6.031 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.3747, allocations: 330.8 kB / 1.372 GB, free: 5.699 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.099e-05/0.3748, allocations: 39.92 kB / 1.372 GB, free: 5.66 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003205/0.3751, allocations: 239 kB / 1.372 GB, free: 5.375 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.3753, allocations: 104.1 kB / 1.372 GB, free: 5.258 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3753, allocations: 0 / 1.372 GB, free: 5.258 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002698/0.3755, allocations: 155.6 kB / 1.372 GB, free: 5.102 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.3756, allocations: 4 kB / 1.372 GB, free: 5.098 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.3756, allocations: 8.125 kB / 1.372 GB, free: 5.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.3756, allocations: 3.938 kB / 1.372 GB, free: 5.086 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-05/0.3756, allocations: 12 kB / 1.372 GB, free: 5.074 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.3757, allocations: 7.984 kB / 1.372 GB, free: 5.066 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/0.3759, allocations: 35.8 kB / 1.372 GB, free: 5.031 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.3759, allocations: 4 kB / 1.372 GB, free: 5.027 MB / 1.061 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.0001402/0.376, allocations: 140.7 kB / 1.373 GB, free: 4.883 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.972e-05/0.3761, allocations: 15.91 kB / 1.373 GB, free: 4.867 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.215e-05/0.3761, allocations: 21.8 kB / 1.373 GB, free: 4.84 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.3761, allocations: 8 kB / 1.373 GB, free: 4.832 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3761, allocations: 0 / 1.373 GB, free: 4.832 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3761, allocations: 0 / 1.373 GB, free: 4.832 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006723/0.3768, allocations: 425.8 kB / 1.373 GB, free: 4.379 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3768, allocations: 4 kB / 1.373 GB, free: 4.375 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.472e-05/0.3768, allocations: 7.938 kB / 1.373 GB, free: 4.367 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.3768, allocations: 0 / 1.373 GB, free: 4.367 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.3768, allocations: 4 kB / 1.373 GB, free: 4.363 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3768, allocations: 0 / 1.373 GB, free: 4.363 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3768, allocations: 8 kB / 1.373 GB, free: 4.355 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.3771, allocations: 231.3 kB / 1.373 GB, free: 4.113 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.595e-05/0.3771, allocations: 11.91 kB / 1.373 GB, free: 4.102 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.3772, allocations: 4 kB / 1.373 GB, free: 4.098 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.3773, allocations: 15.97 kB / 1.373 GB, free: 4.082 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.297e-05/0.3774, allocations: 27.84 kB / 1.373 GB, free: 4.055 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/0.3774, allocations: 8 kB / 1.373 GB, free: 4.047 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001316/0.3775, allocations: 144.2 kB / 1.373 GB, free: 3.906 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3775, allocations: 0 / 1.373 GB, free: 3.906 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003163/0.3778, allocations: 59.81 kB / 1.374 GB, free: 3.848 MB / 1.061 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.0003788/0.3782, allocations: 166.5 kB / 1.374 GB, free: 3.699 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002439/0.3785, allocations: 91.89 kB / 1.374 GB, free: 3.609 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3785, allocations: 4 kB / 1.374 GB, free: 3.605 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.345e-05/0.3786, allocations: 47.86 kB / 1.374 GB, free: 3.559 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.379, allocations: 60.05 kB / 1.374 GB, free: 3.508 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005587/0.3795, allocations: 295.3 kB / 1.374 GB, free: 3.195 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.3797, allocations: 112.1 kB / 1.374 GB, free: 3.066 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.857e-05/0.3797, allocations: 25.61 kB / 1.374 GB, free: 3.039 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.089e-05/0.3798, allocations: 23.44 kB / 1.374 GB, free: 3.016 MB / 1.061 GB Notification: Performance of SimCode: time 2.8e-07/0.3798, allocations: 0 / 1.374 GB, free: 3.016 MB / 1.061 GB Notification: Performance of Templates: time 0.00871/0.3885, allocations: 4.108 MB / 1.378 GB, free: 14.98 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.065269965678453]