Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001151/0.001151, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001656/0.002807, allocations: 440 kB / 10.41 MB, free: 284 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.001055/0.001055, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001235/0.002289, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9104/0.9104, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08913/0.9996, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.378/2.378, allocations: 447.1 MB / 0.675 GB, free: 5.887 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2353/2.613, allocations: 146 MB / 0.8176 GB, free: 3.812 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.8189 GB, free: 2.5 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.394e-05/2.558e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.496 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003692/0.003718, allocations: 1.837 MB / 0.8207 GB, free: 0.6367 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001787/0.005505, allocations: 0.947 MB / 0.8216 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.915e-05/0.005594, allocations: 4 kB / 0.8216 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.000157/0.005751, allocations: 23.73 kB / 0.8217 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.000308/0.006059, allocations: 119.2 kB / 0.8218 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004027/0.006462, allocations: 170.6 kB / 0.8219 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000357/0.006819, allocations: 239.3 kB / 0.8222 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.00696, allocations: 26.45 kB / 0.8222 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01612/0.02308, allocations: 6.377 MB / 0.8284 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001852/0.02327, allocations: 107.7 kB / 0.8285 GB, free: 11 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.271e-05/0.0233, allocations: 12 kB / 0.8285 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 9.673e-05/0.0234, allocations: 35.88 kB / 0.8286 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.098e-05/0.02345, allocations: 31.86 kB / 0.8286 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.918e-05/0.02352, allocations: 43.92 kB / 0.8286 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002936/0.02381, allocations: 159.4 kB / 0.8288 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.118e-05/0.02382, allocations: 0 / 0.8288 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.884e-06/0.02382, allocations: 0 / 0.8288 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.02383, allocations: 0 / 0.8288 GB, free: 10.72 MB / 0.8073 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.0005795/0.02441, allocations: 499 kB / 0.8293 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.02445, allocations: 8.031 kB / 0.8293 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.628e-05/0.0245, allocations: 16.92 kB / 0.8293 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.02468, allocations: 177 kB / 0.8295 GB, free: 9.973 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.02469, allocations: 19.98 kB / 0.8295 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.02471, allocations: 16 kB / 0.8295 GB, free: 9.938 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.887e-05/0.02481, allocations: 90.09 kB / 0.8296 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.23e-06/0.02482, allocations: 0 / 0.8296 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.02483, allocations: 7.938 kB / 0.8296 GB, free: 9.832 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.02483, allocations: 0 / 0.8296 GB, free: 9.832 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.99e-05/0.02487, allocations: 35.19 kB / 0.8296 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003974/0.02527, allocations: 356.1 kB / 0.83 GB, free: 9.434 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.012e-05/0.02536, allocations: 69.12 kB / 0.83 GB, free: 9.348 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.59e-05/0.02538, allocations: 25.91 kB / 0.8301 GB, free: 9.316 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.0254, allocations: 4 kB / 0.8301 GB, free: 9.312 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001128/0.02551, allocations: 101 kB / 0.8302 GB, free: 9.195 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=15): time 1.162e-06/0.02551, allocations: 0 / 0.8302 GB, free: 9.195 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15): time 0.0001499/0.02566, allocations: 105.5 kB / 0.8303 GB, free: 9.086 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.0257, allocations: 89.23 kB / 0.8303 GB, free: 8.98 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.0258, allocations: 183.8 kB / 0.8305 GB, free: 8.789 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.02582, allocations: 33.69 kB / 0.8306 GB, free: 8.75 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.254e-05/0.02587, allocations: 120.4 kB / 0.8307 GB, free: 8.629 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.175e-05/0.0259, allocations: 31.73 kB / 0.8307 GB, free: 8.598 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.255e-05/0.02595, allocations: 61.58 kB / 0.8308 GB, free: 8.531 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.161e-05/0.02602, allocations: 334.8 kB / 0.8311 GB, free: 8.195 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.793e-05/0.02604, allocations: 12 kB / 0.8311 GB, free: 8.184 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.02618, allocations: 227.7 kB / 0.8313 GB, free: 7.898 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.35e-05/0.02625, allocations: 95.22 kB / 0.8314 GB, free: 7.785 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.02626, allocations: 7.938 kB / 0.8314 GB, free: 7.777 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001063/0.02636, allocations: 113.5 kB / 0.8315 GB, free: 7.66 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.02637, allocations: 8 kB / 0.8315 GB, free: 7.652 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.02638, allocations: 0 / 0.8315 GB, free: 7.652 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.02639, allocations: 4.156 kB / 0.8315 GB, free: 7.648 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.821e-05/0.02646, allocations: 31.92 kB / 0.8316 GB, free: 7.617 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-06/0.02646, allocations: 0 / 0.8316 GB, free: 7.617 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.749e-05/0.02655, allocations: 23.94 kB / 0.8316 GB, free: 7.594 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.02656, allocations: 11.94 kB / 0.8316 GB, free: 7.582 MB / 0.8073 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.782e-05/0.02663, allocations: 138.6 kB / 0.8317 GB, free: 7.434 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.657e-05/0.02665, allocations: 15.92 kB / 0.8317 GB, free: 7.418 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.161e-05/0.02668, allocations: 25.45 kB / 0.8318 GB, free: 7.387 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.02669, allocations: 4 kB / 0.8318 GB, free: 7.383 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.02669, allocations: 0 / 0.8318 GB, free: 7.383 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.02669, allocations: 4 kB / 0.8318 GB, free: 7.379 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.02693, allocations: 295.5 kB / 0.832 GB, free: 7.066 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.02693, allocations: 0 / 0.832 GB, free: 7.066 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.245e-05/0.02695, allocations: 4 kB / 0.832 GB, free: 7.062 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.342e-05/0.02696, allocations: 19.84 kB / 0.8321 GB, free: 7.043 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.02696, allocations: 0 / 0.8321 GB, free: 7.043 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.02697, allocations: 7.984 kB / 0.8321 GB, free: 7.035 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.02697, allocations: 4 kB / 0.8321 GB, free: 7.031 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.02697, allocations: 0 / 0.8321 GB, free: 7.031 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.384e-05/0.02707, allocations: 184.3 kB / 0.8323 GB, free: 6.832 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.02708, allocations: 12 kB / 0.8323 GB, free: 6.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.106e-05/0.02713, allocations: 7.984 kB / 0.8323 GB, free: 6.812 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.02717, allocations: 19.97 kB / 0.8323 GB, free: 6.793 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.02719, allocations: 7.984 kB / 0.8323 GB, free: 6.785 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.811e-05/0.02722, allocations: 54.44 kB / 0.8324 GB, free: 6.73 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.02722, allocations: 0 / 0.8324 GB, free: 6.73 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001908/0.02742, allocations: 47.89 kB / 0.8324 GB, free: 6.684 MB / 0.8073 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.0003277/0.02774, allocations: 183.7 kB / 0.8326 GB, free: 6.535 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001193/0.02786, allocations: 84.31 kB / 0.8327 GB, free: 6.453 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.02787, allocations: 4 kB / 0.8327 GB, free: 6.449 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.075e-05/0.02792, allocations: 48.7 kB / 0.8327 GB, free: 6.398 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.02821, allocations: 396 kB / 0.8331 GB, free: 5.938 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004682/0.02868, allocations: 297.4 kB / 0.8334 GB, free: 5.621 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.323e-05/0.02872, allocations: 83.84 kB / 0.8334 GB, free: 5.52 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.401e-05/0.02877, allocations: 17.64 kB / 0.8335 GB, free: 5.504 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.02891, allocations: 105.3 kB / 0.8336 GB, free: 5.402 MB / 0.8073 GB Notification: Performance of SimCode: time 5.21e-07/0.02891, allocations: 0 / 0.8336 GB, free: 5.402 MB / 0.8073 GB Notification: Performance of Templates: time 0.005209/0.03412, allocations: 4.084 MB / 0.8376 GB, free: 1.387 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff/Buildings_latest_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: 5.28997371904552]