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.001575/0.001575, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.001717/0.001717, allocations: 213.4 kB / 23.04 MB, free: 4.844 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 7.746 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.213/3.213, 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.001965/0.001965, allocations: 67.94 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3511, allocations: 176.1 MB / 1.327 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003377/0.3545, allocations: 1.731 MB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001803/0.3563, allocations: 0.9047 MB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.69e-05/0.3564, allocations: 4 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001958/0.3566, allocations: 31.72 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004003/0.357, allocations: 119.4 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003954/0.3574, allocations: 155.7 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003254/0.3577, allocations: 239.4 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.3578, allocations: 33.73 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.358, allocations: 111.7 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01324/0.3712, allocations: 1.666 MB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.508e-05/0.3713, allocations: 20 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001541/0.3715, allocations: 39.98 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.774e-05/0.3716, allocations: 35.84 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.3717, allocations: 79.69 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004834/0.3722, allocations: 223.1 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.3722, allocations: 0 / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3722, allocations: 0 / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.667e-06/0.3722, allocations: 0 / 1.332 GB, free: 11.97 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.0009502/0.3732, allocations: 496.7 kB / 1.333 GB, free: 11.45 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.3732, allocations: 8.031 kB / 1.333 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001254/0.3733, allocations: 24.8 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003214/0.3737, allocations: 193.7 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.3737, allocations: 12 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.52e-05/0.3737, allocations: 15.94 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002232/0.374, allocations: 113 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.374, allocations: 0 / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.374, allocations: 12 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.374, allocations: 0 / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001404/0.3741, allocations: 59.91 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000889/0.375, allocations: 456.3 kB / 1.334 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.3752, allocations: 89.12 kB / 1.334 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.537e-05/0.3753, allocations: 41.7 kB / 1.334 GB, free: 10.35 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.3753, allocations: 12.12 kB / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003252/0.3756, allocations: 113 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.3756, allocations: 0 / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0003888/0.376, allocations: 173.3 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.89e-05/0.3761, allocations: 85.09 kB / 1.334 GB, free: 9.934 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002353/0.3763, allocations: 199.1 kB / 1.334 GB, free: 9.727 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.887e-05/0.3764, allocations: 37.69 kB / 1.334 GB, free: 9.684 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.3765, allocations: 124.5 kB / 1.335 GB, free: 9.559 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.827e-05/0.3765, allocations: 35.86 kB / 1.335 GB, free: 9.523 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.3767, allocations: 61.67 kB / 1.335 GB, free: 9.457 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.3768, allocations: 326.8 kB / 1.335 GB, free: 9.129 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.98e-05/0.3769, allocations: 31.98 kB / 1.335 GB, free: 9.098 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000338/0.3772, allocations: 250.1 kB / 1.335 GB, free: 8.797 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.3774, allocations: 109.9 kB / 1.335 GB, free: 8.668 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.3774, allocations: 4 kB / 1.335 GB, free: 8.664 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002926/0.3777, allocations: 169.4 kB / 1.335 GB, free: 8.492 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.3777, allocations: 4 kB / 1.335 GB, free: 8.488 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.3777, allocations: 8 kB / 1.335 GB, free: 8.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.3777, allocations: 0 / 1.335 GB, free: 8.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.659e-05/0.3778, allocations: 15.94 kB / 1.336 GB, free: 8.465 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.605e-05/0.3779, allocations: 11.92 kB / 1.336 GB, free: 8.453 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002244/0.3781, allocations: 27.88 kB / 1.336 GB, free: 8.426 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.3781, allocations: 12.16 kB / 1.336 GB, free: 8.414 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.0001545/0.3783, allocations: 138.7 kB / 1.336 GB, free: 8.27 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.3783, allocations: 15.91 kB / 1.336 GB, free: 8.254 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.493e-05/0.3783, allocations: 21.45 kB / 1.336 GB, free: 8.227 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.3783, allocations: 4 kB / 1.336 GB, free: 8.223 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.3784, allocations: 0 / 1.336 GB, free: 8.223 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3784, allocations: 3.938 kB / 1.336 GB, free: 8.219 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006224/0.379, allocations: 390 kB / 1.336 GB, free: 7.801 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.379, allocations: 4 kB / 1.336 GB, free: 7.797 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.666e-05/0.379, allocations: 11.92 kB / 1.336 GB, free: 7.785 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.379, allocations: 0 / 1.336 GB, free: 7.785 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.379, allocations: 0 / 1.336 GB, free: 7.785 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.379, allocations: 4 kB / 1.336 GB, free: 7.781 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.379, allocations: 0 / 1.336 GB, free: 7.781 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.3793, allocations: 240 kB / 1.336 GB, free: 7.531 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.124e-05/0.3793, allocations: 19.84 kB / 1.336 GB, free: 7.512 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.3794, allocations: 4 kB / 1.336 GB, free: 7.508 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.3795, allocations: 11.98 kB / 1.336 GB, free: 7.496 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/0.3796, allocations: 27.91 kB / 1.336 GB, free: 7.469 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.34e-05/0.3797, allocations: 15.92 kB / 1.336 GB, free: 7.453 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001415/0.3798, allocations: 144.2 kB / 1.337 GB, free: 7.312 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3798, allocations: 0 / 1.337 GB, free: 7.312 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000339/0.3801, allocations: 47.94 kB / 1.337 GB, free: 7.266 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.0004465/0.3806, allocations: 178.9 kB / 1.337 GB, free: 7.109 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002549/0.3808, allocations: 91.84 kB / 1.337 GB, free: 7.02 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.3808, allocations: 0 / 1.337 GB, free: 7.02 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.381, allocations: 60.16 kB / 1.337 GB, free: 6.961 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004368/0.3814, allocations: 56.52 kB / 1.337 GB, free: 6.906 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007514/0.3821, allocations: 345.5 kB / 1.337 GB, free: 6.535 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001263/0.3823, allocations: 108.1 kB / 1.337 GB, free: 6.406 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.343e-05/0.3823, allocations: 27.42 kB / 1.337 GB, free: 6.379 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3823, allocations: 0 / 1.337 GB, free: 6.379 MB / 1.029 GB Notification: Performance of Templates: time 0.006626/0.389, allocations: 3.246 MB / 1.341 GB, free: 3.152 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: 11.956529116956517]