Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.001882/0.001882, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002559/0.002559, allocations: 212 kB / 22.99 MB, free: 4.957 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.522/1.522, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.386/3.386, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") [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.002059/0.002059, allocations: 64.84 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.3941, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003932/0.398, allocations: 1.726 MB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001926/0.3999, allocations: 0.9086 MB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.125e-05/0.4, allocations: 3.938 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002214/0.4002, allocations: 31.7 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003999/0.4006, allocations: 119.5 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004995/0.4011, allocations: 156.8 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003672/0.4015, allocations: 239.4 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001856/0.4017, allocations: 33.73 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001776/0.4019, allocations: 115.6 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01309/0.415, allocations: 1.669 MB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.007e-05/0.4151, allocations: 16 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.4152, allocations: 43.98 kB / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.606e-05/0.4153, allocations: 43.78 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.4154, allocations: 79.62 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000504/0.4159, allocations: 215.2 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.4159, allocations: 0 / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.254e-06/0.4159, allocations: 7.875 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.416, allocations: 0 / 1.332 GB, free: 12.01 MB / 1.029 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.0009451/0.4169, allocations: 492.7 kB / 1.333 GB, free: 11.49 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.4169, allocations: 16.02 kB / 1.333 GB, free: 11.47 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.493e-05/0.417, allocations: 28.73 kB / 1.333 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003184/0.4173, allocations: 193.7 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.4174, allocations: 8 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.63e-05/0.4174, allocations: 12 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/0.4176, allocations: 117 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.4177, allocations: 7.984 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.4177, allocations: 0 / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.4177, allocations: 0 / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.4178, allocations: 59.91 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008892/0.4187, allocations: 464.3 kB / 1.334 GB, free: 10.53 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.4189, allocations: 89.08 kB / 1.334 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.344e-05/0.4189, allocations: 33.77 kB / 1.334 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.419, allocations: 4 kB / 1.334 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003017/0.4193, allocations: 129.1 kB / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.4193, allocations: 0 / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0003828/0.4196, allocations: 169.4 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.4197, allocations: 81.11 kB / 1.334 GB, free: 9.969 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002646/0.42, allocations: 207.1 kB / 1.334 GB, free: 9.754 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.152e-05/0.4201, allocations: 33.7 kB / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.4202, allocations: 120.5 kB / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.465e-05/0.4202, allocations: 39.72 kB / 1.335 GB, free: 9.555 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.4203, allocations: 53.69 kB / 1.335 GB, free: 9.496 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001853/0.4205, allocations: 330.8 kB / 1.335 GB, free: 9.164 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.921e-05/0.4206, allocations: 36.11 kB / 1.335 GB, free: 9.129 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003404/0.4209, allocations: 253 kB / 1.335 GB, free: 8.824 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.4211, allocations: 103 kB / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.4211, allocations: 4 kB / 1.335 GB, free: 8.699 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002725/0.4213, allocations: 158.9 kB / 1.335 GB, free: 8.539 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.4214, allocations: 8 kB / 1.335 GB, free: 8.531 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.4214, allocations: 4 kB / 1.335 GB, free: 8.527 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.4214, allocations: 3.938 kB / 1.335 GB, free: 8.523 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.963e-05/0.4215, allocations: 23.98 kB / 1.335 GB, free: 8.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.4215, allocations: 4 kB / 1.335 GB, free: 8.496 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/0.4217, allocations: 27.88 kB / 1.335 GB, free: 8.469 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.4217, allocations: 8 kB / 1.335 GB, free: 8.461 MB / 1.029 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.000163/0.4219, allocations: 144 kB / 1.336 GB, free: 8.309 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.123e-05/0.4219, allocations: 15.91 kB / 1.336 GB, free: 8.293 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.326e-05/0.422, allocations: 21.47 kB / 1.336 GB, free: 8.266 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/0.422, allocations: 4 kB / 1.336 GB, free: 8.262 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.422, allocations: 0 / 1.336 GB, free: 8.262 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.422, allocations: 7.922 kB / 1.336 GB, free: 8.254 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006267/0.4226, allocations: 391 kB / 1.336 GB, free: 7.836 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4226, allocations: 96 / 1.336 GB, free: 7.836 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.528e-05/0.4227, allocations: 7.938 kB / 1.336 GB, free: 7.828 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.4227, allocations: 7.922 kB / 1.336 GB, free: 7.82 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.4227, allocations: 8 kB / 1.336 GB, free: 7.812 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.4227, allocations: 4 kB / 1.336 GB, free: 7.809 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4227, allocations: 0 / 1.336 GB, free: 7.809 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.4229, allocations: 239.8 kB / 1.336 GB, free: 7.559 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.834e-05/0.423, allocations: 15.91 kB / 1.336 GB, free: 7.543 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.423, allocations: 0 / 1.336 GB, free: 7.543 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.4231, allocations: 19.97 kB / 1.336 GB, free: 7.523 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.467e-05/0.4232, allocations: 23.91 kB / 1.336 GB, free: 7.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-05/0.4232, allocations: 4 kB / 1.336 GB, free: 7.496 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001498/0.4234, allocations: 152.2 kB / 1.336 GB, free: 7.348 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4234, allocations: 0 / 1.336 GB, free: 7.348 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003111/0.4237, allocations: 47.94 kB / 1.337 GB, free: 7.301 MB / 1.029 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.0004294/0.4241, allocations: 173.7 kB / 1.337 GB, free: 7.148 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002307/0.4243, allocations: 95.83 kB / 1.337 GB, free: 7.055 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4243, allocations: 0 / 1.337 GB, free: 7.055 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.442e-05/0.4244, allocations: 51.86 kB / 1.337 GB, free: 7.004 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004374/0.4249, allocations: 62.7 kB / 1.337 GB, free: 6.945 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007169/0.4256, allocations: 318.7 kB / 1.337 GB, free: 6.609 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.4257, allocations: 112.1 kB / 1.337 GB, free: 6.48 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.216e-05/0.4258, allocations: 17.64 kB / 1.337 GB, free: 6.465 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.586e-05/0.4258, allocations: 27.42 kB / 1.337 GB, free: 6.438 MB / 1.029 GB Notification: Performance of SimCode: time 3.51e-07/0.4258, allocations: 0 / 1.337 GB, free: 6.438 MB / 1.029 GB Notification: Performance of Templates: time 0.009429/0.4353, allocations: 4.055 MB / 1.341 GB, free: 2.457 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.532690102991182]