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.001292/0.001292, allocations: 104.7 kB / 16.45 MB, free: 6.449 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.001382/0.001382, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.505/1.505, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.293/3.293, allocations: 0.4899 GB / 0.7915 GB, free: 33.47 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.002102/0.002102, allocations: 67.02 kB / 1.149 GB, free: 26.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3867/0.3888, allocations: 176.1 MB / 1.321 GB, free: 2.863 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.00339/0.3922, allocations: 1.761 MB / 1.323 GB, free: 1.09 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001724/0.3939, allocations: 0.9474 MB / 1.324 GB, free: 144 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.322e-05/0.394, allocations: 0 / 1.324 GB, free: 144 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002119/0.3942, allocations: 35.7 kB / 1.324 GB, free: 108 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0004189/0.3946, allocations: 119.4 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004145/0.395, allocations: 149.5 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003261/0.3953, allocations: 239.4 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.3955, allocations: 29.67 kB / 1.324 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/0.3957, allocations: 119.7 kB / 1.325 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01337/0.409, allocations: 1.666 MB / 1.326 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.935e-05/0.4091, allocations: 16 kB / 1.326 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.4093, allocations: 39.98 kB / 1.326 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.442e-05/0.4094, allocations: 43.83 kB / 1.326 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.4095, allocations: 87.58 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004804/0.41, allocations: 223.1 kB / 1.327 GB, free: 13.82 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.41, allocations: 4 kB / 1.327 GB, free: 13.82 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.302e-06/0.41, allocations: 0 / 1.327 GB, free: 13.82 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.258e-06/0.41, allocations: 0 / 1.327 GB, free: 13.82 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.001011/0.411, allocations: 0.5565 MB / 1.327 GB, free: 13.2 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.4111, allocations: 11.98 kB / 1.327 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.257e-05/0.4112, allocations: 24.8 kB / 1.327 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003354/0.4115, allocations: 251.5 kB / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.4115, allocations: 12 kB / 1.327 GB, free: 12.87 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.949e-05/0.4116, allocations: 12 kB / 1.327 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002389/0.4118, allocations: 111.4 kB / 1.327 GB, free: 12.74 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.4118, allocations: 0 / 1.327 GB, free: 12.74 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.4118, allocations: 4 kB / 1.327 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.4118, allocations: 4 kB / 1.328 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.412, allocations: 55.81 kB / 1.328 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.413, allocations: 0.5474 MB / 1.328 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.4132, allocations: 89.14 kB / 1.328 GB, free: 11.97 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.844e-05/0.4133, allocations: 37.95 kB / 1.328 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.4133, allocations: 7.875 kB / 1.328 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003073/0.4136, allocations: 125 kB / 1.328 GB, free: 11.78 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.182e-06/0.4136, allocations: 0 / 1.328 GB, free: 11.78 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0004146/0.414, allocations: 169.2 kB / 1.329 GB, free: 11.61 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.597e-05/0.4141, allocations: 85.05 kB / 1.329 GB, free: 11.51 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002506/0.4143, allocations: 205.2 kB / 1.329 GB, free: 11.29 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.319e-05/0.4144, allocations: 33.7 kB / 1.329 GB, free: 11.25 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.4145, allocations: 120.5 kB / 1.329 GB, free: 11.13 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.971e-05/0.4145, allocations: 35.72 kB / 1.329 GB, free: 11.1 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.4146, allocations: 57.69 kB / 1.329 GB, free: 11.04 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.4148, allocations: 334.9 kB / 1.329 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.556e-05/0.4148, allocations: 27.98 kB / 1.329 GB, free: 10.67 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002787/0.4151, allocations: 147.3 kB / 1.33 GB, free: 10.5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.4153, allocations: 109.9 kB / 1.33 GB, free: 10.37 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4153, allocations: 0 / 1.33 GB, free: 10.37 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002972/0.4156, allocations: 157.3 kB / 1.33 GB, free: 10.21 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.4156, allocations: 10.81 kB / 1.33 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.4156, allocations: 4 kB / 1.33 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.4156, allocations: 4 kB / 1.33 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.068e-05/0.4157, allocations: 15.98 kB / 1.33 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.4157, allocations: 3.938 kB / 1.33 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002582/0.416, allocations: 27.88 kB / 1.33 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.416, allocations: 8 kB / 1.33 GB, free: 10.14 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.0001417/0.4162, allocations: 139.5 kB / 1.33 GB, free: 9.988 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.714e-05/0.4162, allocations: 20 kB / 1.33 GB, free: 9.969 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.098e-05/0.4162, allocations: 21.52 kB / 1.33 GB, free: 9.945 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.4162, allocations: 7.984 kB / 1.33 GB, free: 9.938 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.4163, allocations: 3.938 kB / 1.33 GB, free: 9.934 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.4163, allocations: 4 kB / 1.33 GB, free: 9.93 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006503/0.4169, allocations: 462.3 kB / 1.33 GB, free: 9.422 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.401e-06/0.4169, allocations: 7.922 kB / 1.33 GB, free: 9.414 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.834e-05/0.4169, allocations: 8 kB / 1.33 GB, free: 9.406 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.4169, allocations: 4 kB / 1.33 GB, free: 9.402 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.417, allocations: 4 kB / 1.33 GB, free: 9.398 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.417, allocations: 3.938 kB / 1.33 GB, free: 9.395 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.417, allocations: 0 / 1.33 GB, free: 9.395 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002837/0.4172, allocations: 239.1 kB / 1.331 GB, free: 9.145 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.237e-05/0.4173, allocations: 89.02 kB / 1.331 GB, free: 9.039 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.4173, allocations: 4 kB / 1.331 GB, free: 9.035 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.4175, allocations: 23.91 kB / 1.331 GB, free: 9.012 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.43e-05/0.4176, allocations: 19.98 kB / 1.331 GB, free: 8.992 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-05/0.4176, allocations: 4 kB / 1.331 GB, free: 8.988 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001399/0.4177, allocations: 147.3 kB / 1.331 GB, free: 8.844 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4177, allocations: 0 / 1.331 GB, free: 8.844 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003286/0.418, allocations: 43.92 kB / 1.331 GB, free: 8.801 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.0004525/0.4185, allocations: 178.8 kB / 1.331 GB, free: 8.637 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002429/0.4187, allocations: 95.84 kB / 1.331 GB, free: 8.543 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4187, allocations: 0 / 1.331 GB, free: 8.543 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.4188, allocations: 51.17 kB / 1.331 GB, free: 8.496 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.4193, allocations: 57.58 kB / 1.331 GB, free: 8.445 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007052/0.42, allocations: 316.2 kB / 1.332 GB, free: 8.109 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.4203, allocations: 0.7203 MB / 1.332 GB, free: 7.363 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.877e-05/0.4204, allocations: 25.47 kB / 1.332 GB, free: 7.34 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.939e-05/0.4205, allocations: 23.44 kB / 1.332 GB, free: 7.316 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.4205, allocations: 4 kB / 1.332 GB, free: 7.312 MB / 1.029 GB Notification: Performance of Templates: time 0.008809/0.4293, allocations: 3.685 MB / 1.336 GB, free: 3.66 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 -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/jenkins/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.05514383688569]