Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.0007566/0.0007566, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001118/0.001874, 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.0006999/0.0006999, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009682/0.001668, 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.9139/0.9139, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08893/1.003, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.878/1.878, allocations: 378.3 MB / 0.6079 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5274/2.405, allocations: 123.3 MB / 0.7283 GB, free: 5.75 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.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 0.7296 GB, free: 4.449 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.011e-05/2.151e-05, allocations: 3.531 kB / 0.7296 GB, free: 4.445 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.002298/0.002319, allocations: 1.841 MB / 0.7314 GB, free: 2.625 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.003536, allocations: 0.9395 MB / 0.7324 GB, free: 1.691 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.73e-05/0.003623, allocations: 7.938 kB / 0.7324 GB, free: 1.684 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.003745, allocations: 26.39 kB / 0.7324 GB, free: 1.66 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002759/0.004021, allocations: 117.7 kB / 0.7325 GB, free: 1.555 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003431/0.004364, allocations: 162.4 kB / 0.7327 GB, free: 1.398 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002658/0.00463, allocations: 246.6 kB / 0.7329 GB, free: 1.164 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.004751, allocations: 27.38 kB / 0.7329 GB, free: 1.137 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01573/0.02048, allocations: 6.384 MB / 0.7392 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/0.02068, allocations: 99.73 kB / 0.7393 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.549e-05/0.02071, allocations: 12 kB / 0.7393 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.02082, allocations: 39.92 kB / 0.7393 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.481e-05/0.02087, allocations: 23.88 kB / 0.7393 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.652e-05/0.02094, allocations: 43.88 kB / 0.7394 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003142/0.02125, allocations: 159.5 kB / 0.7395 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.134e-05/0.02127, allocations: 2.719 kB / 0.7395 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.593e-06/0.02127, allocations: 0 / 0.7395 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.016e-05/0.02128, allocations: 0 / 0.7395 GB, free: 12.71 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005946/0.02187, allocations: 0.4911 MB / 0.74 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.02191, allocations: 8.031 kB / 0.74 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.56e-05/0.02196, allocations: 25.5 kB / 0.74 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.02215, allocations: 175.8 kB / 0.7402 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.02216, allocations: 8 kB / 0.7402 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.02218, allocations: 19.98 kB / 0.7402 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.02229, allocations: 87.28 kB / 0.7403 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.0223, allocations: 4 kB / 0.7403 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.02231, allocations: 4 kB / 0.7403 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.02231, allocations: 6.438 kB / 0.7403 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.099e-05/0.02235, allocations: 19.98 kB / 0.7403 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.02279, allocations: 362.2 kB / 0.7407 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.02289, allocations: 80.98 kB / 0.7408 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.45e-05/0.02291, allocations: 17.78 kB / 0.7408 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.02293, allocations: 4 kB / 0.7408 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000121/0.02305, allocations: 109.7 kB / 0.7409 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 9.62e-07/0.02305, allocations: 4 kB / 0.7409 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.000157/0.02321, allocations: 94.47 kB / 0.741 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.02325, allocations: 87.56 kB / 0.7411 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.02336, allocations: 191.8 kB / 0.7412 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.02338, allocations: 33.7 kB / 0.7413 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.723e-05/0.02344, allocations: 116.4 kB / 0.7414 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.02346, allocations: 35.72 kB / 0.7414 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.459e-05/0.02353, allocations: 57.66 kB / 0.7415 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.626e-05/0.0236, allocations: 330.8 kB / 0.7418 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.933e-05/0.02362, allocations: 18.42 kB / 0.7418 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.02378, allocations: 235 kB / 0.742 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.742e-05/0.02386, allocations: 97.11 kB / 0.7421 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.02386, allocations: 0 / 0.7421 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001204/0.02398, allocations: 127.4 kB / 0.7423 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.02399, allocations: 8 kB / 0.7423 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.024, allocations: 0 / 0.7423 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.02401, allocations: 4 kB / 0.7423 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.501e-05/0.02407, allocations: 24.69 kB / 0.7423 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.02408, allocations: 11.92 kB / 0.7423 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.028e-05/0.02417, allocations: 16.55 kB / 0.7423 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.02418, allocations: 8.75 kB / 0.7423 GB, free: 9.582 MB / 0.7136 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 7.848e-05/0.02426, allocations: 131.2 kB / 0.7424 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.861e-05/0.02427, allocations: 19.92 kB / 0.7425 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.048e-05/0.0243, allocations: 22.16 kB / 0.7425 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.02431, allocations: 3.984 kB / 0.7425 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.02431, allocations: 0.5625 kB / 0.7425 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.02431, allocations: 0.5938 kB / 0.7425 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002688/0.02458, allocations: 291.1 kB / 0.7428 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.02458, allocations: 5.5 kB / 0.7428 GB, free: 9.086 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.864e-05/0.0246, allocations: 7.938 kB / 0.7428 GB, free: 9.078 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.56e-05/0.02462, allocations: 15.84 kB / 0.7428 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.02462, allocations: 0 / 0.7428 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.02463, allocations: 5.125 kB / 0.7428 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.02463, allocations: 0 / 0.7428 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.02463, allocations: 0 / 0.7428 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.02474, allocations: 185 kB / 0.743 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.02475, allocations: 7.938 kB / 0.743 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.05e-05/0.02481, allocations: 16.64 kB / 0.743 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.346e-05/0.02485, allocations: 16.81 kB / 0.743 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.02487, allocations: 11.97 kB / 0.743 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.661e-05/0.02492, allocations: 59.95 kB / 0.7431 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.02492, allocations: 3.938 kB / 0.7431 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000181/0.0251, allocations: 43.89 kB / 0.7431 GB, free: 8.703 MB / 0.7136 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.0003611/0.02546, allocations: 178.8 kB / 0.7433 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001225/0.02558, allocations: 80.64 kB / 0.7434 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.02559, allocations: 4 kB / 0.7434 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.075e-05/0.02564, allocations: 46.27 kB / 0.7434 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.02596, allocations: 392.7 kB / 0.7438 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004988/0.02646, allocations: 305.5 kB / 0.7441 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.181e-05/0.0265, allocations: 76.23 kB / 0.7442 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.147e-05/0.02655, allocations: 18.67 kB / 0.7442 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.0267, allocations: 105.3 kB / 0.7443 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of SimCode: time 8.42e-07/0.0267, allocations: 1.156 kB / 0.7443 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of Templates: time 0.006475/0.03317, allocations: 4.075 MB / 0.7483 GB, free: 3.535 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.97896368522197]