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.001732/0.001732, allocations: 111.1 kB / 17.13 MB, free: 5.926 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.002236/0.002236, allocations: 205 kB / 20.09 MB, free: 2.977 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 / 253.5 MB, free: 15.07 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 2.945/2.945, allocations: 0.49 GB / 0.7923 GB, free: 1.262 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.002174/0.002174, allocations: 79.88 kB / 1.15 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.076/1.078, allocations: 176.1 MB / 1.322 GB, free: 25.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.00266/1.081, allocations: 1.767 MB / 1.324 GB, free: 23.89 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001269/1.082, allocations: 0.9482 MB / 1.325 GB, free: 23.25 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.069e-05/1.082, allocations: 0 / 1.325 GB, free: 23.25 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001779/1.082, allocations: 29.34 kB / 1.325 GB, free: 23.23 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003125/1.083, allocations: 126.3 kB / 1.325 GB, free: 23.16 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002945/1.083, allocations: 151 kB / 1.325 GB, free: 23.09 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002255/1.083, allocations: 239.6 kB / 1.325 GB, free: 22.99 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/1.083, allocations: 32.73 kB / 1.325 GB, free: 22.97 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/1.083, allocations: 115.7 kB / 1.325 GB, free: 22.93 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01229/1.096, allocations: 1.667 MB / 1.327 GB, free: 22.48 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.777e-05/1.096, allocations: 17.28 kB / 1.327 GB, free: 22.48 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/1.096, allocations: 35.86 kB / 1.327 GB, free: 22.47 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.015e-05/1.096, allocations: 39.03 kB / 1.327 GB, free: 22.45 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001177/1.096, allocations: 90.78 kB / 1.327 GB, free: 22.39 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003715/1.096, allocations: 230.8 kB / 1.327 GB, free: 22.3 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/1.096, allocations: 4 kB / 1.327 GB, free: 22.29 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.562e-06/1.096, allocations: 0.6562 kB / 1.327 GB, free: 22.29 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.462e-06/1.096, allocations: 0 / 1.327 GB, free: 22.29 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007679/1.097, allocations: 0.5546 MB / 1.328 GB, free: 21.79 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/1.097, allocations: 14.08 kB / 1.328 GB, free: 21.79 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.28e-05/1.097, allocations: 23.52 kB / 1.328 GB, free: 21.77 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/1.098, allocations: 251.5 kB / 1.328 GB, free: 21.53 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/1.098, allocations: 10.25 kB / 1.328 GB, free: 21.53 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.805e-05/1.098, allocations: 14.12 kB / 1.328 GB, free: 21.52 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/1.098, allocations: 111.8 kB / 1.328 GB, free: 21.45 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/1.098, allocations: 0.9375 kB / 1.328 GB, free: 21.45 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/1.098, allocations: 1.406 kB / 1.328 GB, free: 21.45 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/1.098, allocations: 2.25 kB / 1.328 GB, free: 21.45 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/1.098, allocations: 56.09 kB / 1.328 GB, free: 21.43 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007721/1.099, allocations: 0.5434 MB / 1.329 GB, free: 21 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/1.099, allocations: 88.78 kB / 1.329 GB, free: 20.94 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.202e-05/1.099, allocations: 43.33 kB / 1.329 GB, free: 20.91 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/1.099, allocations: 5.844 kB / 1.329 GB, free: 20.9 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002375/1.099, allocations: 123 kB / 1.329 GB, free: 20.81 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.152e-06/1.099, allocations: 0 / 1.329 GB, free: 20.81 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.0003533/1.1, allocations: 172.2 kB / 1.329 GB, free: 20.73 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/1.1, allocations: 80.08 kB / 1.329 GB, free: 20.64 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/1.1, allocations: 199 kB / 1.329 GB, free: 20.5 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/1.1, allocations: 34.05 kB / 1.33 GB, free: 20.46 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.184e-05/1.1, allocations: 121.1 kB / 1.33 GB, free: 20.36 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/1.1, allocations: 32.42 kB / 1.33 GB, free: 20.33 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.605e-05/1.1, allocations: 66.91 kB / 1.33 GB, free: 20.29 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.733e-05/1.1, allocations: 334.2 kB / 1.33 GB, free: 19.97 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.096e-05/1.1, allocations: 28.05 kB / 1.33 GB, free: 19.96 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002481/1.1, allocations: 138.4 kB / 1.33 GB, free: 19.85 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/1.101, allocations: 116.4 kB / 1.33 GB, free: 19.75 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/1.101, allocations: 5.031 kB / 1.33 GB, free: 19.75 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002498/1.101, allocations: 159.9 kB / 1.33 GB, free: 19.67 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/1.101, allocations: 10.56 kB / 1.33 GB, free: 19.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/1.101, allocations: 1.188 kB / 1.33 GB, free: 19.66 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/1.101, allocations: 7.547 kB / 1.33 GB, free: 19.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.195e-05/1.101, allocations: 18.34 kB / 1.33 GB, free: 19.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/1.101, allocations: 3.406 kB / 1.331 GB, free: 19.66 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002316/1.101, allocations: 29.19 kB / 1.331 GB, free: 19.64 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/1.101, allocations: 5.719 kB / 1.331 GB, free: 19.64 MB / 1.061 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.0001005/1.101, allocations: 139 kB / 1.331 GB, free: 19.52 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.234e-05/1.101, allocations: 24.67 kB / 1.331 GB, free: 19.5 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.574e-05/1.101, allocations: 20.22 kB / 1.331 GB, free: 19.48 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/1.101, allocations: 2.125 kB / 1.331 GB, free: 19.48 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/1.101, allocations: 1.094 kB / 1.331 GB, free: 19.48 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/1.101, allocations: 1.219 kB / 1.331 GB, free: 19.48 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005716/1.102, allocations: 475 kB / 1.331 GB, free: 19.11 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/1.102, allocations: 1.188 kB / 1.331 GB, free: 19.11 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.487e-05/1.102, allocations: 8.562 kB / 1.331 GB, free: 19.11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/1.102, allocations: 1.672 kB / 1.331 GB, free: 19.11 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/1.102, allocations: 6.688 kB / 1.331 GB, free: 19.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/1.102, allocations: 4.719 kB / 1.331 GB, free: 19.1 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.102, allocations: 1.703 kB / 1.331 GB, free: 19.1 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002122/1.102, allocations: 230.4 kB / 1.331 GB, free: 18.93 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.666e-05/1.102, allocations: 95.47 kB / 1.332 GB, free: 18.82 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/1.102, allocations: 5.828 kB / 1.332 GB, free: 18.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/1.102, allocations: 19.66 kB / 1.332 GB, free: 18.81 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.787e-05/1.103, allocations: 19.2 kB / 1.332 GB, free: 18.8 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/1.103, allocations: 7.188 kB / 1.332 GB, free: 18.8 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001154/1.103, allocations: 145.9 kB / 1.332 GB, free: 18.71 MB / 1.061 GB Notification: Performance of sort global known variables: time 5e-08/1.103, allocations: 0 / 1.332 GB, free: 18.71 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003204/1.103, allocations: 41.34 kB / 1.332 GB, free: 18.7 MB / 1.061 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.0003691/1.103, allocations: 173.9 kB / 1.332 GB, free: 18.58 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002328/1.104, allocations: 106.5 kB / 1.332 GB, free: 18.55 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/1.104, allocations: 0 / 1.332 GB, free: 18.55 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.74e-05/1.104, allocations: 46.14 kB / 1.332 GB, free: 18.54 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004239/1.104, allocations: 59.05 kB / 1.332 GB, free: 18.52 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005881/1.105, allocations: 350.3 kB / 1.332 GB, free: 18.27 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001519/1.105, allocations: 0.7191 MB / 1.333 GB, free: 17.57 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.05e-05/1.105, allocations: 23.55 kB / 1.333 GB, free: 17.56 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/1.105, allocations: 0 / 1.333 GB, free: 17.56 MB / 1.061 GB Notification: Performance of Templates: time 0.006667/1.112, allocations: 3.21 MB / 1.336 GB, free: 17.22 MB / 1.061 GB " [Timeout remaining time 299] 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/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: 12.650705405001645]