Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0007941/0.0007941, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.0007789/0.0007789, allocations: 177.9 kB / 23.22 MB, free: 1.352 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 0.8603/0.8603, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.616/1.616, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.9517 GB, free: 3.031 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.847e-05/1.977e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.027 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.002008/0.002028, allocations: 1.737 MB / 0.9534 GB, free: 1.27 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001057/0.003085, allocations: 0.9043 MB / 0.9543 GB, free: 372 kB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.376e-05/0.003159, allocations: 4 kB / 0.9543 GB, free: 368 kB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001601/0.003319, allocations: 23.73 kB / 0.9543 GB, free: 344 kB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0003153/0.003634, allocations: 127.3 kB / 0.9544 GB, free: 216 kB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.003895, allocations: 151.6 kB / 0.9546 GB, free: 64 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002221/0.004117, allocations: 251.3 kB / 0.9548 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.004239, allocations: 25.75 kB / 0.9548 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.004375, allocations: 151.6 kB / 0.955 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005434/0.009809, allocations: 1.988 MB / 0.9569 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.563e-05/0.009845, allocations: 16 kB / 0.9569 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 7.156e-05/0.009916, allocations: 39.94 kB / 0.957 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 5.618e-05/0.009972, allocations: 47.83 kB / 0.957 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 6.886e-05/0.01004, allocations: 63.8 kB / 0.9571 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002934/0.01033, allocations: 235.3 kB / 0.9573 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.01034, allocations: 4 kB / 0.9573 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.011e-06/0.01034, allocations: 0 / 0.9573 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.01034, allocations: 0 / 0.9573 GB, free: 13.79 MB / 0.9167 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.0005709/0.01091, allocations: 496.6 kB / 0.9578 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.01095, allocations: 8.031 kB / 0.9578 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.445e-05/0.011, allocations: 28.83 kB / 0.9578 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.0112, allocations: 181.5 kB / 0.958 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.01121, allocations: 8.375 kB / 0.958 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.01123, allocations: 15.94 kB / 0.958 GB, free: 13 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.01138, allocations: 117.4 kB / 0.9581 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.01139, allocations: 0 / 0.9581 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.0114, allocations: 4 kB / 0.9581 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.01141, allocations: 4 kB / 0.9581 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.166e-05/0.01149, allocations: 47.97 kB / 0.9582 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005131/0.012, allocations: 464.3 kB / 0.9586 GB, free: 12.33 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.01214, allocations: 97.19 kB / 0.9587 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.199e-05/0.01218, allocations: 37.77 kB / 0.9588 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.01219, allocations: 0 / 0.9588 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001332/0.01232, allocations: 126.8 kB / 0.9589 GB, free: 12.03 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.01232, allocations: 7.984 kB / 0.9589 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of matching and sorting (n=15): time 0.000245/0.01257, allocations: 161.5 kB / 0.959 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.01261, allocations: 85.05 kB / 0.9591 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.01275, allocations: 208.4 kB / 0.9593 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.01277, allocations: 33.7 kB / 0.9594 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.678e-05/0.01283, allocations: 120.5 kB / 0.9595 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.226e-05/0.01286, allocations: 35.78 kB / 0.9595 GB, free: 11.35 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.764e-05/0.01291, allocations: 53.69 kB / 0.9596 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.042e-05/0.01299, allocations: 330.8 kB / 0.9599 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.463e-05/0.01304, allocations: 35.98 kB / 0.9599 GB, free: 10.92 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/0.01323, allocations: 242.2 kB / 0.9601 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.01333, allocations: 117.8 kB / 0.9602 GB, free: 10.49 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01333, allocations: 0 / 0.9602 GB, free: 10.49 MB / 0.9167 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001643/0.01349, allocations: 168.2 kB / 0.9604 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.01351, allocations: 8 kB / 0.9604 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.01351, allocations: 4.156 kB / 0.9604 GB, free: 10.31 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.01352, allocations: 4 kB / 0.9604 GB, free: 10.31 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.629e-05/0.01358, allocations: 23.92 kB / 0.9604 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.01358, allocations: 4 kB / 0.9604 GB, free: 10.28 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.01369, allocations: 31.88 kB / 0.9605 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.0137, allocations: 4 kB / 0.9605 GB, free: 10.25 MB / 0.9167 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 9.127e-05/0.01379, allocations: 139.7 kB / 0.9606 GB, free: 10.1 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.881e-05/0.01381, allocations: 23.83 kB / 0.9606 GB, free: 10.08 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.01e-05/0.01384, allocations: 21.47 kB / 0.9607 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.01384, allocations: 4 kB / 0.9607 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.01384, allocations: 0 / 0.9607 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.01385, allocations: 3.984 kB / 0.9607 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003367/0.01418, allocations: 386 kB / 0.961 GB, free: 9.633 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.01419, allocations: 0 / 0.961 GB, free: 9.633 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.079e-05/0.0142, allocations: 4 kB / 0.961 GB, free: 9.629 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.0142, allocations: 4 kB / 0.961 GB, free: 9.625 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.01421, allocations: 4 kB / 0.961 GB, free: 9.621 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.01421, allocations: 0 / 0.961 GB, free: 9.621 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.01421, allocations: 7.938 kB / 0.9611 GB, free: 9.613 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001416/0.01435, allocations: 236.1 kB / 0.9613 GB, free: 9.363 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.477e-05/0.01437, allocations: 15.91 kB / 0.9613 GB, free: 9.348 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.01438, allocations: 4 kB / 0.9613 GB, free: 9.344 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.418e-05/0.01445, allocations: 19.91 kB / 0.9613 GB, free: 9.324 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.11e-05/0.0145, allocations: 19.97 kB / 0.9613 GB, free: 9.305 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.01451, allocations: 8 kB / 0.9613 GB, free: 9.297 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 8.014e-05/0.01459, allocations: 143 kB / 0.9615 GB, free: 9.156 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01459, allocations: 0 / 0.9615 GB, free: 9.156 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002085/0.0148, allocations: 47.89 kB / 0.9615 GB, free: 9.109 MB / 0.9167 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.0002372/0.01504, allocations: 195.6 kB / 0.9617 GB, free: 8.934 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001609/0.0152, allocations: 99.89 kB / 0.9618 GB, free: 8.836 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.0152, allocations: 0 / 0.9618 GB, free: 8.836 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.155e-05/0.01526, allocations: 43.92 kB / 0.9619 GB, free: 8.793 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.01552, allocations: 56.22 kB / 0.9619 GB, free: 8.742 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003936/0.01592, allocations: 325.4 kB / 0.9622 GB, free: 8.391 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.552e-05/0.01599, allocations: 112.2 kB / 0.9623 GB, free: 8.258 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.165e-05/0.01603, allocations: 28.48 kB / 0.9623 GB, free: 8.23 MB / 0.9167 GB Notification: Performance of SimCode: time 3.91e-07/0.01603, allocations: 0 / 0.9623 GB, free: 8.23 MB / 0.9167 GB Notification: Performance of Templates: time 0.003517/0.01955, allocations: 3.242 MB / 0.9655 GB, free: 5.008 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,plotConfiguration.active,sca.active,scaDel.active Variables in the result:plotConfiguration.active,sca.active,scaDel.active,time [Calling sys.exit(0), Time elapsed: 6.992052608169615]