Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001075/0.001075, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001559/0.002634, 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.0007148/0.0007148, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001002/0.001717, 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.8808/0.8808, allocations: 177.2 MB / 189.7 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0908/0.9716, allocations: 53.67 MB / 243.4 MB, free: 15.51 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.41/2.41, allocations: 447.1 MB / 0.675 GB, free: 5.945 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2432/2.653, allocations: 146 MB / 0.8176 GB, free: 3.863 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.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.8189 GB, free: 2.559 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.101e-05/2.242e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.555 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.007108/0.007131, allocations: 1.845 MB / 0.8207 GB, free: 0.6875 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.004693/0.01182, allocations: 0.9392 MB / 0.8216 GB, free: 15.75 MB / 0.8074 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.872e-05/0.01191, allocations: 7.938 kB / 0.8216 GB, free: 15.74 MB / 0.8074 GB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.01205, allocations: 23.73 kB / 0.8217 GB, free: 15.71 MB / 0.8074 GB Notification: Performance of NFTyping.typeBindings: time 0.000295/0.01235, allocations: 119.3 kB / 0.8218 GB, free: 15.6 MB / 0.8074 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003403/0.01269, allocations: 167.5 kB / 0.8219 GB, free: 15.43 MB / 0.8074 GB Notification: Performance of NFFlatten.flatten: time 0.0002839/0.01297, allocations: 235.3 kB / 0.8222 GB, free: 15.2 MB / 0.8074 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.01309, allocations: 26.45 kB / 0.8222 GB, free: 15.18 MB / 0.8074 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02872/0.04181, allocations: 5.279 MB / 0.8273 GB, free: 11.89 MB / 0.8074 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002709/0.04208, allocations: 95.73 kB / 0.8274 GB, free: 11.79 MB / 0.8074 GB Notification: Performance of NFPackage.collectConstants: time 5.517e-05/0.04214, allocations: 20 kB / 0.8274 GB, free: 11.77 MB / 0.8074 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.04228, allocations: 31.94 kB / 0.8275 GB, free: 11.74 MB / 0.8074 GB Notification: Performance of NFScalarize.scalarize: time 7.09e-05/0.04235, allocations: 31.86 kB / 0.8275 GB, free: 11.71 MB / 0.8074 GB Notification: Performance of NFVerifyModel.verify: time 9.328e-05/0.04244, allocations: 47.86 kB / 0.8276 GB, free: 11.66 MB / 0.8074 GB Notification: Performance of NFConvertDAE.convert: time 0.000407/0.04285, allocations: 147.5 kB / 0.8277 GB, free: 11.52 MB / 0.8074 GB Notification: Performance of FrontEnd - DAE generated: time 1.888e-05/0.04287, allocations: 0 / 0.8277 GB, free: 11.52 MB / 0.8074 GB Notification: Performance of FrontEnd: time 1.924e-06/0.04287, allocations: 0 / 0.8277 GB, free: 11.52 MB / 0.8074 GB Notification: Performance of Transformations before backend: time 1.778e-05/0.04289, allocations: 0 / 0.8277 GB, free: 11.52 MB / 0.8074 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.0008623/0.04375, allocations: 0.4989 MB / 0.8282 GB, free: 10.98 MB / 0.8074 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.04379, allocations: 11.97 kB / 0.8282 GB, free: 10.97 MB / 0.8074 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.22e-05/0.04386, allocations: 24.92 kB / 0.8282 GB, free: 10.95 MB / 0.8074 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.04412, allocations: 173 kB / 0.8284 GB, free: 10.75 MB / 0.8074 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.04415, allocations: 12 kB / 0.8284 GB, free: 10.74 MB / 0.8074 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.601e-05/0.04418, allocations: 19.94 kB / 0.8284 GB, free: 10.72 MB / 0.8074 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.04433, allocations: 93.58 kB / 0.8285 GB, free: 10.62 MB / 0.8074 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.04434, allocations: 0 / 0.8285 GB, free: 10.62 MB / 0.8074 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.04435, allocations: 7.984 kB / 0.8285 GB, free: 10.61 MB / 0.8074 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.04436, allocations: 4 kB / 0.8285 GB, free: 10.61 MB / 0.8074 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.019e-05/0.04442, allocations: 27.27 kB / 0.8285 GB, free: 10.59 MB / 0.8074 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005872/0.04501, allocations: 356.1 kB / 0.8289 GB, free: 10.22 MB / 0.8074 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.04514, allocations: 65.06 kB / 0.8289 GB, free: 10.14 MB / 0.8074 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.905e-05/0.04518, allocations: 29.77 kB / 0.829 GB, free: 10.1 MB / 0.8074 GB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.0452, allocations: 0 / 0.829 GB, free: 10.1 MB / 0.8074 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001731/0.04537, allocations: 112.1 kB / 0.8291 GB, free: 9.977 MB / 0.8074 GB Notification: Performance of pre-optimization done (n=15): time 1.313e-06/0.04537, allocations: 0 / 0.8291 GB, free: 9.977 MB / 0.8074 GB Notification: Performance of matching and sorting (n=15): time 0.0002232/0.04559, allocations: 109.5 kB / 0.8292 GB, free: 9.863 MB / 0.8074 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.04565, allocations: 81.11 kB / 0.8293 GB, free: 9.766 MB / 0.8074 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.0458, allocations: 188.4 kB / 0.8294 GB, free: 9.57 MB / 0.8074 GB Notification: Performance of collectPreVariables (initialization): time 3.298e-05/0.04584, allocations: 33.7 kB / 0.8295 GB, free: 9.531 MB / 0.8074 GB Notification: Performance of collectInitialEqns (initialization): time 7.378e-05/0.04591, allocations: 112.4 kB / 0.8296 GB, free: 9.418 MB / 0.8074 GB Notification: Performance of collectInitialBindings (initialization): time 3.62e-05/0.04595, allocations: 39.72 kB / 0.8296 GB, free: 9.379 MB / 0.8074 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.595e-05/0.04603, allocations: 57.64 kB / 0.8297 GB, free: 9.316 MB / 0.8074 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.04614, allocations: 330.9 kB / 0.83 GB, free: 8.984 MB / 0.8074 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.408e-05/0.04617, allocations: 15.98 kB / 0.83 GB, free: 8.969 MB / 0.8074 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002182/0.04639, allocations: 227.7 kB / 0.8302 GB, free: 8.684 MB / 0.8074 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.0465, allocations: 100.7 kB / 0.8303 GB, free: 8.562 MB / 0.8074 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.0465, allocations: 0 / 0.8303 GB, free: 8.562 MB / 0.8074 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002532/0.04676, allocations: 124.7 kB / 0.8304 GB, free: 8.438 MB / 0.8074 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.04678, allocations: 4 kB / 0.8304 GB, free: 8.434 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.04679, allocations: 3.984 kB / 0.8304 GB, free: 8.43 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.0468, allocations: 4 kB / 0.8304 GB, free: 8.426 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.893e-05/0.0469, allocations: 23.98 kB / 0.8305 GB, free: 8.402 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.04691, allocations: 7.938 kB / 0.8305 GB, free: 8.395 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.04708, allocations: 23.94 kB / 0.8305 GB, free: 8.371 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.04708, allocations: 4 kB / 0.8305 GB, free: 8.367 MB / 0.8074 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.0001004/0.04718, allocations: 130.8 kB / 0.8306 GB, free: 8.227 MB / 0.8074 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.04721, allocations: 27.91 kB / 0.8306 GB, free: 8.199 MB / 0.8074 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.688e-05/0.04725, allocations: 21.45 kB / 0.8307 GB, free: 8.172 MB / 0.8074 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.04725, allocations: 0 / 0.8307 GB, free: 8.172 MB / 0.8074 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.04725, allocations: 7.938 kB / 0.8307 GB, free: 8.164 MB / 0.8074 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.04726, allocations: 0 / 0.8307 GB, free: 8.164 MB / 0.8074 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003081/0.04756, allocations: 290.6 kB / 0.831 GB, free: 7.855 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.04757, allocations: 3.938 kB / 0.831 GB, free: 7.852 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.924e-05/0.04759, allocations: 11.98 kB / 0.831 GB, free: 7.84 MB / 0.8074 GB Notification: Performance of postOpt removeConstants (simulation): time 1.456e-05/0.0476, allocations: 15.84 kB / 0.831 GB, free: 7.824 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.0476, allocations: 8 kB / 0.831 GB, free: 7.816 MB / 0.8074 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.04761, allocations: 4 kB / 0.831 GB, free: 7.812 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.04761, allocations: 0 / 0.831 GB, free: 7.812 MB / 0.8074 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.04761, allocations: 0 / 0.831 GB, free: 7.812 MB / 0.8074 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.04772, allocations: 188.2 kB / 0.8312 GB, free: 7.609 MB / 0.8074 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.04773, allocations: 7.984 kB / 0.8312 GB, free: 7.602 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.641e-05/0.04779, allocations: 11.98 kB / 0.8312 GB, free: 7.59 MB / 0.8074 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.731e-05/0.04784, allocations: 15.97 kB / 0.8312 GB, free: 7.574 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/0.04786, allocations: 8 kB / 0.8312 GB, free: 7.566 MB / 0.8074 GB Notification: Performance of sorting global known variables: time 5.131e-05/0.04791, allocations: 49.81 kB / 0.8313 GB, free: 7.516 MB / 0.8074 GB Notification: Performance of sort global known variables: time 6e-08/0.04791, allocations: 4 kB / 0.8313 GB, free: 7.512 MB / 0.8074 GB Notification: Performance of remove unused functions: time 0.0001895/0.0481, allocations: 55.88 kB / 0.8313 GB, free: 7.457 MB / 0.8074 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.0003645/0.04846, allocations: 186.4 kB / 0.8315 GB, free: 7.309 MB / 0.8074 GB Notification: Performance of simCode: created initialization part: time 0.0001307/0.0486, allocations: 80.38 kB / 0.8316 GB, free: 7.23 MB / 0.8074 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.0486, allocations: 4 kB / 0.8316 GB, free: 7.227 MB / 0.8074 GB Notification: Performance of simCode: created simulation system equations: time 5.048e-05/0.04865, allocations: 40.84 kB / 0.8316 GB, free: 7.184 MB / 0.8074 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.04899, allocations: 389.1 kB / 0.832 GB, free: 6.727 MB / 0.8074 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005397/0.04953, allocations: 328.8 kB / 0.8323 GB, free: 6.379 MB / 0.8074 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.967e-05/0.04957, allocations: 75.84 kB / 0.8324 GB, free: 6.285 MB / 0.8074 GB Notification: Performance of simCode: alias equations: time 5.213e-05/0.04962, allocations: 21.62 kB / 0.8324 GB, free: 6.266 MB / 0.8074 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.04976, allocations: 109.2 kB / 0.8325 GB, free: 6.16 MB / 0.8074 GB Notification: Performance of SimCode: time 8.51e-07/0.04976, allocations: 0 / 0.8325 GB, free: 6.16 MB / 0.8074 GB Notification: Performance of Templates: time 0.005263/0.05503, allocations: 4.09 MB / 0.8365 GB, free: 2.129 MB / 0.8074 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.293540509417653]