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.001589/0.001589, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001745/0.001745, allocations: 220.9 kB / 23.01 MB, free: 4.609 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.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.217/3.217, allocations: 0.49 GB / 0.7958 GB, free: 33.56 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.002008/0.002008, allocations: 71.08 kB / 1.155 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3415, allocations: 176.1 MB / 1.327 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003417/0.3449, allocations: 1.778 MB / 1.329 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001712/0.3467, allocations: 0.9514 MB / 1.33 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.654e-05/0.3467, allocations: 7.938 kB / 1.33 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001945/0.3469, allocations: 23.73 kB / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003808/0.3473, allocations: 119.4 kB / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004254/0.3477, allocations: 169.8 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003825/0.3481, allocations: 247.3 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.3483, allocations: 29.73 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002044/0.3485, allocations: 115.7 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01315/0.3616, allocations: 1.667 MB / 1.332 GB, free: 12.78 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.143e-05/0.3617, allocations: 16 kB / 1.332 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.3618, allocations: 39.98 kB / 1.332 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.013e-05/0.3619, allocations: 47.77 kB / 1.332 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.362, allocations: 95.56 kB / 1.332 GB, free: 12.59 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004259/0.3625, allocations: 219.1 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3625, allocations: 0 / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3625, allocations: 0 / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.379e-05/0.3625, allocations: 0 / 1.332 GB, free: 12.37 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.0009043/0.3634, allocations: 498.4 kB / 1.333 GB, free: 11.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.3634, allocations: 8.031 kB / 1.333 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.324e-05/0.3635, allocations: 24.8 kB / 1.333 GB, free: 11.81 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/0.3638, allocations: 189.8 kB / 1.333 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.3638, allocations: 8 kB / 1.333 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.578e-05/0.3639, allocations: 16 kB / 1.333 GB, free: 11.58 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/0.3641, allocations: 111.3 kB / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.3641, allocations: 0 / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.3641, allocations: 4 kB / 1.333 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.3641, allocations: 8 kB / 1.333 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.3642, allocations: 51.97 kB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009697/0.3652, allocations: 0.5074 MB / 1.334 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.3654, allocations: 101 kB / 1.334 GB, free: 10.72 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.602e-05/0.3655, allocations: 41.7 kB / 1.334 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.3655, allocations: 0 / 1.334 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003033/0.3658, allocations: 125.1 kB / 1.334 GB, free: 10.54 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.212e-06/0.3658, allocations: 0 / 1.334 GB, free: 10.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.000365/0.3661, allocations: 168.2 kB / 1.334 GB, free: 10.37 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/0.3662, allocations: 77.11 kB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002393/0.3664, allocations: 215 kB / 1.335 GB, free: 10.05 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.903e-05/0.3665, allocations: 33.7 kB / 1.335 GB, free: 10.01 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.3666, allocations: 120.5 kB / 1.335 GB, free: 9.891 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.93e-05/0.3666, allocations: 43.86 kB / 1.335 GB, free: 9.848 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.229e-05/0.3667, allocations: 53.67 kB / 1.335 GB, free: 9.789 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.3669, allocations: 326.8 kB / 1.335 GB, free: 9.461 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.645e-05/0.367, allocations: 35.98 kB / 1.335 GB, free: 9.426 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002759/0.3672, allocations: 139 kB / 1.335 GB, free: 9.258 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002182/0.3674, allocations: 113.9 kB / 1.335 GB, free: 9.125 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3675, allocations: 0 / 1.335 GB, free: 9.125 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002724/0.3677, allocations: 169.4 kB / 1.336 GB, free: 8.953 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.3677, allocations: 4 kB / 1.336 GB, free: 8.949 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.3677, allocations: 0 / 1.336 GB, free: 8.949 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.3678, allocations: 4 kB / 1.336 GB, free: 8.945 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.612e-05/0.3679, allocations: 19.94 kB / 1.336 GB, free: 8.926 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.3679, allocations: 7.984 kB / 1.336 GB, free: 8.918 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/0.3681, allocations: 23.88 kB / 1.336 GB, free: 8.895 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.3681, allocations: 8.156 kB / 1.336 GB, free: 8.887 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.0001549/0.3682, allocations: 144 kB / 1.336 GB, free: 8.734 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.418e-05/0.3683, allocations: 19.91 kB / 1.336 GB, free: 8.715 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.265e-05/0.3683, allocations: 21.45 kB / 1.336 GB, free: 8.688 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3683, allocations: 0 / 1.336 GB, free: 8.688 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.3683, allocations: 4 kB / 1.336 GB, free: 8.684 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3683, allocations: 3.938 kB / 1.336 GB, free: 8.68 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006472/0.369, allocations: 438.8 kB / 1.336 GB, free: 8.203 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.369, allocations: 4 kB / 1.336 GB, free: 8.199 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.02e-05/0.369, allocations: 0 / 1.336 GB, free: 8.199 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.369, allocations: 4 kB / 1.336 GB, free: 8.195 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.369, allocations: 3.938 kB / 1.336 GB, free: 8.191 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.369, allocations: 3.938 kB / 1.336 GB, free: 8.188 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.369, allocations: 7.984 kB / 1.336 GB, free: 8.18 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002558/0.3693, allocations: 232.2 kB / 1.336 GB, free: 7.934 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.7e-05/0.3693, allocations: 11.91 kB / 1.336 GB, free: 7.922 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.867e-05/0.3693, allocations: 7.984 kB / 1.336 GB, free: 7.914 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.3695, allocations: 15.92 kB / 1.336 GB, free: 7.898 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.793e-05/0.3695, allocations: 19.97 kB / 1.336 GB, free: 7.879 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.59e-05/0.3696, allocations: 8 kB / 1.336 GB, free: 7.871 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001427/0.3697, allocations: 144.2 kB / 1.337 GB, free: 7.73 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3697, allocations: 0 / 1.337 GB, free: 7.73 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003178/0.37, allocations: 55.92 kB / 1.337 GB, free: 7.676 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.0004319/0.3705, allocations: 182.5 kB / 1.337 GB, free: 7.512 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002337/0.3707, allocations: 90.77 kB / 1.337 GB, free: 7.426 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.3707, allocations: 7.938 kB / 1.337 GB, free: 7.418 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001578/0.3709, allocations: 47.98 kB / 1.337 GB, free: 7.371 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004342/0.3713, allocations: 53.11 kB / 1.337 GB, free: 7.324 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007709/0.3721, allocations: 349.5 kB / 1.337 GB, free: 6.949 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004198/0.3725, allocations: 0.7203 MB / 1.338 GB, free: 6.203 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.04e-05/0.3726, allocations: 23.42 kB / 1.338 GB, free: 6.18 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.3726, allocations: 4 kB / 1.338 GB, free: 6.176 MB / 1.029 GB Notification: Performance of Templates: time 0.006019/0.3786, allocations: 3.22 MB / 1.341 GB, free: 2.973 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/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.108209238009294]