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.001889/0.001889, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.002287/0.002287, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 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.49/1.49, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.864/2.864, allocations: 377.8 MB / 0.6232 GB, free: 8.512 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.413e-05/2.552e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003284/0.00331, allocations: 1.732 MB / 0.8125 GB, free: 380 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001866/0.005175, allocations: 0.8998 MB / 0.8134 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.627e-05/0.005242, allocations: 4 kB / 0.8134 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001943/0.005436, allocations: 33.25 kB / 0.8134 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003912/0.005827, allocations: 123.4 kB / 0.8135 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003916/0.006219, allocations: 147.6 kB / 0.8136 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003374/0.006556, allocations: 247.8 kB / 0.8139 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.006682, allocations: 34.5 kB / 0.8139 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002307/0.006913, allocations: 151.7 kB / 0.8141 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01573/0.02264, allocations: 2.662 MB / 0.8167 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.906e-05/0.02272, allocations: 16 kB / 0.8167 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.02284, allocations: 35.94 kB / 0.8167 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.919e-05/0.02292, allocations: 45.8 kB / 0.8168 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.02305, allocations: 67.8 kB / 0.8168 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004396/0.02349, allocations: 243.2 kB / 0.817 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.02349, allocations: 0 / 0.817 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.312e-06/0.02349, allocations: 0 / 0.817 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.0235, allocations: 0 / 0.817 GB, free: 12.77 MB / 0.7761 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.0009557/0.02445, allocations: 491.1 kB / 0.8175 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.02449, allocations: 8.031 kB / 0.8175 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.02459, allocations: 28.84 kB / 0.8176 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003716/0.02497, allocations: 186.5 kB / 0.8177 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.02499, allocations: 14.31 kB / 0.8177 GB, free: 12 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.352e-05/0.02503, allocations: 19.94 kB / 0.8178 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000251/0.02528, allocations: 111.3 kB / 0.8179 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.02529, allocations: 3.938 kB / 0.8179 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.466e-05/0.02532, allocations: 11.97 kB / 0.8179 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.02533, allocations: 6.062 kB / 0.8179 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/0.02546, allocations: 55.88 kB / 0.8179 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009509/0.02642, allocations: 457.8 kB / 0.8184 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/0.02663, allocations: 89.27 kB / 0.8185 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.02676, allocations: 34.55 kB / 0.8185 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.02678, allocations: 9.125 kB / 0.8185 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002241/0.02701, allocations: 121 kB / 0.8186 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=15): time 1.102e-06/0.02701, allocations: 0 / 0.8186 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15): time 0.0003987/0.02741, allocations: 174.3 kB / 0.8188 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.127e-05/0.02749, allocations: 88.3 kB / 0.8189 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/0.02775, allocations: 205.2 kB / 0.8191 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.592e-05/0.02779, allocations: 33.7 kB / 0.8191 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.02791, allocations: 120.5 kB / 0.8192 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.222e-05/0.02796, allocations: 39.72 kB / 0.8193 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.02807, allocations: 61.67 kB / 0.8193 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001849/0.02825, allocations: 326.8 kB / 0.8196 GB, free: 9.93 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.391e-05/0.02833, allocations: 27.98 kB / 0.8196 GB, free: 9.902 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003686/0.0287, allocations: 251.6 kB / 0.8199 GB, free: 9.602 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.02887, allocations: 115.8 kB / 0.82 GB, free: 9.473 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.02888, allocations: 0 / 0.82 GB, free: 9.473 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004199/0.0293, allocations: 171.5 kB / 0.8202 GB, free: 9.301 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.02931, allocations: 4 kB / 0.8202 GB, free: 9.297 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.02931, allocations: 0 / 0.8202 GB, free: 9.297 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.02933, allocations: 5.031 kB / 0.8202 GB, free: 9.293 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.02944, allocations: 19.92 kB / 0.8202 GB, free: 9.273 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.02945, allocations: 4 kB / 0.8202 GB, free: 9.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.02967, allocations: 33 kB / 0.8202 GB, free: 9.238 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.02969, allocations: 4 kB / 0.8202 GB, free: 9.234 MB / 0.7761 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.0001553/0.02984, allocations: 144.7 kB / 0.8204 GB, free: 9.086 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.865e-05/0.02989, allocations: 31.8 kB / 0.8204 GB, free: 9.055 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.972e-05/0.02994, allocations: 23.05 kB / 0.8204 GB, free: 9.035 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.02994, allocations: 0 / 0.8204 GB, free: 9.035 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.02995, allocations: 4 kB / 0.8204 GB, free: 9.031 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.02995, allocations: 0 / 0.8204 GB, free: 9.031 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006323/0.03058, allocations: 387.9 kB / 0.8208 GB, free: 8.617 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.03059, allocations: 3.938 kB / 0.8208 GB, free: 8.613 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.386e-05/0.03061, allocations: 4 kB / 0.8208 GB, free: 8.609 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.03061, allocations: 96 / 0.8208 GB, free: 8.609 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.03063, allocations: 8.672 kB / 0.8208 GB, free: 8.602 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.03063, allocations: 7.938 kB / 0.8208 GB, free: 8.594 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.03063, allocations: 4.641 kB / 0.8208 GB, free: 8.59 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002926/0.03093, allocations: 235.5 kB / 0.821 GB, free: 8.344 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.013e-05/0.03096, allocations: 15.89 kB / 0.8211 GB, free: 8.328 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.03098, allocations: 5.938 kB / 0.8211 GB, free: 8.324 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.03112, allocations: 15.98 kB / 0.8211 GB, free: 8.309 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.288e-05/0.0312, allocations: 15.97 kB / 0.8211 GB, free: 8.293 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.832e-05/0.03123, allocations: 11.98 kB / 0.8211 GB, free: 8.281 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000165/0.03139, allocations: 145.3 kB / 0.8212 GB, free: 8.141 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.03139, allocations: 4 kB / 0.8213 GB, free: 8.137 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003293/0.03172, allocations: 47.88 kB / 0.8213 GB, free: 8.09 MB / 0.7761 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.0004398/0.03216, allocations: 179.5 kB / 0.8215 GB, free: 7.93 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002548/0.03242, allocations: 91.91 kB / 0.8216 GB, free: 7.84 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.03242, allocations: 3.938 kB / 0.8216 GB, free: 7.836 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.861e-05/0.03252, allocations: 39.98 kB / 0.8216 GB, free: 7.797 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004601/0.03298, allocations: 80.67 kB / 0.8217 GB, free: 7.727 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007082/0.03368, allocations: 326.1 kB / 0.822 GB, free: 7.379 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/0.03381, allocations: 104.3 kB / 0.8221 GB, free: 7.258 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.887e-05/0.03388, allocations: 25.62 kB / 0.8221 GB, free: 7.234 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.288e-05/0.03395, allocations: 20.5 kB / 0.8221 GB, free: 7.215 MB / 0.7761 GB Notification: Performance of SimCode: time 4.21e-07/0.03395, allocations: 4 kB / 0.8221 GB, free: 7.211 MB / 0.7761 GB Notification: Performance of Templates: time 0.008926/0.04287, allocations: 3.944 MB / 0.826 GB, free: 3.32 MB / 0.7761 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: 7.957619130960666]