Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.001399/0.001399, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001789/0.001789, allocations: 214.7 kB / 22.25 MB, free: 4.859 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.451/1.451, 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.298/3.298, allocations: 0.5107 GB / 0.8158 GB, free: 17.88 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.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") [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.002121/0.002121, allocations: 67.97 kB / 1.186 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3778, allocations: 181.9 MB / 1.364 GB, free: 13.64 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.00335/0.3811, allocations: 1.72 MB / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001734/0.3828, allocations: 0.9019 MB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.988e-05/0.3829, allocations: 3.938 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002019/0.3831, allocations: 23.73 kB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004113/0.3835, allocations: 127.4 kB / 1.367 GB, free: 10.85 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004007/0.3839, allocations: 155.7 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003309/0.3843, allocations: 243.4 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.3844, allocations: 25.73 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/0.3846, allocations: 115.6 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01384/0.3984, allocations: 1.708 MB / 1.369 GB, free: 9.055 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.149e-05/0.3985, allocations: 16 kB / 1.369 GB, free: 9.039 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001443/0.3986, allocations: 40 kB / 1.369 GB, free: 9 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.243e-05/0.3987, allocations: 47.77 kB / 1.369 GB, free: 8.953 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.3989, allocations: 79.62 kB / 1.369 GB, free: 8.875 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004601/0.3993, allocations: 211.2 kB / 1.369 GB, free: 8.668 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3993, allocations: 0 / 1.369 GB, free: 8.668 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3993, allocations: 0 / 1.369 GB, free: 8.668 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.3993, allocations: 0 / 1.369 GB, free: 8.668 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.000947/0.4003, allocations: 0.4889 MB / 1.37 GB, free: 8.137 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.4003, allocations: 12.02 kB / 1.37 GB, free: 8.125 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.865e-05/0.4004, allocations: 20.84 kB / 1.37 GB, free: 8.105 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003129/0.4007, allocations: 185.8 kB / 1.37 GB, free: 7.898 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.4007, allocations: 8 kB / 1.37 GB, free: 7.891 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.696e-05/0.4008, allocations: 16 kB / 1.37 GB, free: 7.875 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.401, allocations: 102.9 kB / 1.37 GB, free: 7.77 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.401, allocations: 0 / 1.37 GB, free: 7.77 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.401, allocations: 0 / 1.37 GB, free: 7.77 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.401, allocations: 4 kB / 1.37 GB, free: 7.766 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.4011, allocations: 51.97 kB / 1.37 GB, free: 7.715 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008041/0.402, allocations: 380.1 kB / 1.37 GB, free: 7.312 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004337/0.4024, allocations: 118.8 kB / 1.37 GB, free: 7.188 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.607e-05/0.4025, allocations: 32.84 kB / 1.37 GB, free: 7.152 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.4025, allocations: 4 kB / 1.37 GB, free: 7.148 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003053/0.4028, allocations: 114.4 kB / 1.371 GB, free: 7.027 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.4028, allocations: 0 / 1.371 GB, free: 7.027 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.0003715/0.4031, allocations: 169.4 kB / 1.371 GB, free: 6.855 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.4032, allocations: 55.41 kB / 1.371 GB, free: 6.789 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002278/0.4034, allocations: 202.5 kB / 1.371 GB, free: 6.578 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.4035, allocations: 29.7 kB / 1.371 GB, free: 6.543 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.4036, allocations: 120.5 kB / 1.371 GB, free: 6.422 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.213e-05/0.4036, allocations: 43.62 kB / 1.371 GB, free: 6.379 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.922e-05/0.4037, allocations: 57.67 kB / 1.371 GB, free: 6.316 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.4039, allocations: 338.8 kB / 1.372 GB, free: 5.977 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.589e-05/0.4039, allocations: 31.98 kB / 1.372 GB, free: 5.945 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003175/0.4043, allocations: 236.2 kB / 1.372 GB, free: 5.664 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.4044, allocations: 110 kB / 1.372 GB, free: 5.543 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.4044, allocations: 0 / 1.372 GB, free: 5.543 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002731/0.4047, allocations: 153.5 kB / 1.372 GB, free: 5.387 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.4047, allocations: 4 kB / 1.372 GB, free: 5.383 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.4047, allocations: 4 kB / 1.372 GB, free: 5.379 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.4047, allocations: 3.984 kB / 1.372 GB, free: 5.375 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.483e-05/0.4048, allocations: 15.94 kB / 1.372 GB, free: 5.359 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.4048, allocations: 4 kB / 1.372 GB, free: 5.355 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002199/0.405, allocations: 27.88 kB / 1.372 GB, free: 5.328 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.4051, allocations: 8 kB / 1.372 GB, free: 5.32 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.0001497/0.4052, allocations: 135.5 kB / 1.372 GB, free: 5.18 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.4052, allocations: 19.94 kB / 1.372 GB, free: 5.16 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.791e-05/0.4053, allocations: 25.8 kB / 1.372 GB, free: 5.129 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.4053, allocations: 4 kB / 1.372 GB, free: 5.125 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4053, allocations: 3.938 kB / 1.372 GB, free: 5.121 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.4053, allocations: 0 / 1.372 GB, free: 5.121 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006903/0.406, allocations: 417.8 kB / 1.373 GB, free: 4.676 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.406, allocations: 4 kB / 1.373 GB, free: 4.672 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.698e-05/0.406, allocations: 11.98 kB / 1.373 GB, free: 4.66 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.406, allocations: 0 / 1.373 GB, free: 4.66 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.406, allocations: 4 kB / 1.373 GB, free: 4.656 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.406, allocations: 0 / 1.373 GB, free: 4.656 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.406, allocations: 0 / 1.373 GB, free: 4.656 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/0.4063, allocations: 238.2 kB / 1.373 GB, free: 4.41 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.845e-05/0.4063, allocations: 15.91 kB / 1.373 GB, free: 4.395 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.4063, allocations: 3.938 kB / 1.373 GB, free: 4.391 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.4065, allocations: 19.97 kB / 1.373 GB, free: 4.371 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.758e-05/0.4066, allocations: 27.84 kB / 1.373 GB, free: 4.344 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/0.4066, allocations: 4 kB / 1.373 GB, free: 4.34 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001322/0.4067, allocations: 144.2 kB / 1.373 GB, free: 4.199 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4067, allocations: 7.938 kB / 1.373 GB, free: 4.191 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003284/0.407, allocations: 47.95 kB / 1.373 GB, free: 4.145 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.0004153/0.4075, allocations: 166.5 kB / 1.373 GB, free: 3.992 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002342/0.4077, allocations: 98.7 kB / 1.373 GB, free: 3.898 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4077, allocations: 0 / 1.373 GB, free: 3.898 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.694e-05/0.4078, allocations: 47.86 kB / 1.373 GB, free: 3.852 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.4082, allocations: 61.95 kB / 1.374 GB, free: 3.793 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006632/0.4089, allocations: 319 kB / 1.374 GB, free: 3.457 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.409, allocations: 108.1 kB / 1.374 GB, free: 3.332 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.068e-05/0.4091, allocations: 21.62 kB / 1.374 GB, free: 3.309 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.166e-05/0.4091, allocations: 35.42 kB / 1.374 GB, free: 3.273 MB / 1.061 GB Notification: Performance of SimCode: time 4.21e-07/0.4091, allocations: 0 / 1.374 GB, free: 3.273 MB / 1.061 GB Notification: Performance of Templates: time 0.008854/0.418, allocations: 4.106 MB / 1.378 GB, free: 15.23 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.034195436164737]