Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.0007635/0.0007635, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00109/0.001853, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006843/0.0006843, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009254/0.00161, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.941/0.941, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08967/1.031, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.842/1.842, allocations: 378.4 MB / 0.6079 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.485/2.327, allocations: 123.3 MB / 0.7283 GB, free: 5.691 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.7296 GB, free: 4.406 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.278e-05/2.448e-05, allocations: 2.312 kB / 0.7296 GB, free: 4.402 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002436/0.002461, allocations: 1.832 MB / 0.7314 GB, free: 2.59 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.003755, allocations: 0.9499 MB / 0.7323 GB, free: 1.645 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.96e-05/0.003845, allocations: 0 / 0.7323 GB, free: 1.645 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.003973, allocations: 30 kB / 0.7324 GB, free: 1.617 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002935/0.004267, allocations: 115.3 kB / 0.7325 GB, free: 1.516 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003218/0.004589, allocations: 165.8 kB / 0.7326 GB, free: 1.355 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002662/0.004855, allocations: 243.3 kB / 0.7329 GB, free: 1.125 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.004963, allocations: 22.45 kB / 0.7329 GB, free: 1.102 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01383/0.01879, allocations: 5.424 MB / 0.7382 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002163/0.01901, allocations: 91.8 kB / 0.7383 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.969e-05/0.01905, allocations: 16 kB / 0.7383 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.01916, allocations: 40.97 kB / 0.7383 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.96e-05/0.01922, allocations: 27.92 kB / 0.7384 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.956e-05/0.01929, allocations: 39.88 kB / 0.7384 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003156/0.01961, allocations: 156.7 kB / 0.7386 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.378e-05/0.01962, allocations: 0 / 0.7386 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.884e-06/0.01962, allocations: 0 / 0.7386 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.105e-05/0.01963, allocations: 0 / 0.7386 GB, free: 13.32 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006548/0.02029, allocations: 0.4946 MB / 0.739 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.02032, allocations: 12.03 kB / 0.739 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.23e-05/0.02038, allocations: 16.92 kB / 0.7391 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.02058, allocations: 185.4 kB / 0.7392 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.02059, allocations: 16 kB / 0.7393 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.02061, allocations: 8 kB / 0.7393 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.02072, allocations: 76.45 kB / 0.7393 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.02073, allocations: 0 / 0.7393 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.02074, allocations: 4 kB / 0.7393 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.02074, allocations: 4 kB / 0.7393 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.937e-05/0.02078, allocations: 19.98 kB / 0.7394 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004117/0.02119, allocations: 266.6 kB / 0.7396 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.02138, allocations: 94.48 kB / 0.7397 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.637e-05/0.0214, allocations: 20.78 kB / 0.7397 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.02142, allocations: 6.438 kB / 0.7397 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001213/0.02154, allocations: 87.45 kB / 0.7398 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.924e-06/0.02154, allocations: 0 / 0.7398 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0001767/0.02172, allocations: 105.6 kB / 0.7399 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.02176, allocations: 59.34 kB / 0.74 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.02187, allocations: 187.7 kB / 0.7402 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.02189, allocations: 35.89 kB / 0.7402 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.309e-05/0.02195, allocations: 108.5 kB / 0.7403 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.02197, allocations: 39.67 kB / 0.7403 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.91e-05/0.02203, allocations: 53.66 kB / 0.7404 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.581e-05/0.02213, allocations: 334.8 kB / 0.7407 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.301e-05/0.02215, allocations: 16 kB / 0.7407 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/0.02232, allocations: 215 kB / 0.7409 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.426e-05/0.02239, allocations: 82.44 kB / 0.741 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.02239, allocations: 2.375 kB / 0.741 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001189/0.02251, allocations: 113.4 kB / 0.7411 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.02253, allocations: 8 kB / 0.7411 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.02253, allocations: 0 / 0.7411 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.02254, allocations: 6.438 kB / 0.7411 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.8e-05/0.02261, allocations: 27.94 kB / 0.7411 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.02262, allocations: 3.984 kB / 0.7412 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.922e-05/0.02271, allocations: 23.89 kB / 0.7412 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.02271, allocations: 7.984 kB / 0.7412 GB, free: 10.41 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,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,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * 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 8.668e-05/0.0228, allocations: 132 kB / 0.7413 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.005e-05/0.02282, allocations: 19.92 kB / 0.7413 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.261e-05/0.02285, allocations: 13.81 kB / 0.7413 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.02286, allocations: 7.984 kB / 0.7413 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.02286, allocations: 1.906 kB / 0.7413 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.02286, allocations: 0 / 0.7413 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003367/0.0232, allocations: 314.1 kB / 0.7416 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.0232, allocations: 0.7812 kB / 0.7417 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.955e-05/0.02322, allocations: 4 kB / 0.7417 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.53e-05/0.02323, allocations: 16.56 kB / 0.7417 GB, free: 9.875 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.02324, allocations: 4 kB / 0.7417 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.02325, allocations: 12.58 kB / 0.7417 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.02325, allocations: 0.625 kB / 0.7417 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.02325, allocations: 0 / 0.7417 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.02336, allocations: 192 kB / 0.7419 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.02338, allocations: 4 kB / 0.7419 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.37e-05/0.02343, allocations: 8.516 kB / 0.7419 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.215e-05/0.02348, allocations: 24.58 kB / 0.7419 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.0235, allocations: 8.594 kB / 0.7419 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.347e-05/0.02354, allocations: 46.44 kB / 0.742 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.02354, allocations: 5.5 kB / 0.742 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001968/0.02374, allocations: 47.94 kB / 0.742 GB, free: 9.516 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.0003745/0.02412, allocations: 179.4 kB / 0.7422 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001408/0.02426, allocations: 76.31 kB / 0.7423 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.303e-06/0.02426, allocations: 4 kB / 0.7423 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.701e-05/0.02432, allocations: 51.12 kB / 0.7423 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.02465, allocations: 391.9 kB / 0.7427 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000628/0.02528, allocations: 326.6 kB / 0.743 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.349e-05/0.02532, allocations: 71.86 kB / 0.7431 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.714e-05/0.02539, allocations: 29.59 kB / 0.7431 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/0.02555, allocations: 113.2 kB / 0.7432 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of SimCode: time 5.91e-07/0.02555, allocations: 0 / 0.7432 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of Templates: time 0.00623/0.03178, allocations: 4.151 MB / 0.7472 GB, free: 4.25 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.896381084807217]