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.001469/0.001469, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001519/0.002987, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007542/0.0007542, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009433/0.001698, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9531/0.9531, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09998/1.053, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.638/2.638, allocations: 446.7 MB / 0.6745 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2646/2.903, allocations: 145.9 MB / 0.817 GB, free: 4.203 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.573e-06/1.573e-06, allocations: 0 / 0.8183 GB, free: 2.922 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.504e-05/1.661e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.918 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003212/0.003229, allocations: 1.839 MB / 0.8201 GB, free: 1.059 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001601/0.00483, allocations: 0.947 MB / 0.821 GB, free: 112 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.678e-05/0.004917, allocations: 0 / 0.821 GB, free: 112 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001256/0.005042, allocations: 27.73 kB / 0.821 GB, free: 84 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0003266/0.005369, allocations: 119.2 kB / 0.8211 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003955/0.005764, allocations: 155.6 kB / 0.8213 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003301/0.006095, allocations: 239.4 kB / 0.8215 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.00622, allocations: 26.45 kB / 0.8215 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01602/0.02224, allocations: 5.274 MB / 0.8267 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001754/0.02242, allocations: 99.73 kB / 0.8268 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.045e-05/0.02245, allocations: 12 kB / 0.8268 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.965e-05/0.02253, allocations: 39.94 kB / 0.8268 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.758e-05/0.02257, allocations: 23.92 kB / 0.8269 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.121e-05/0.02264, allocations: 47.86 kB / 0.8269 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.02289, allocations: 155.4 kB / 0.827 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.455e-05/0.02291, allocations: 3.938 kB / 0.827 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.353e-06/0.02291, allocations: 0 / 0.827 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.621e-05/0.02292, allocations: 0 / 0.827 GB, free: 11.89 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.0005946/0.02352, allocations: 499 kB / 0.8275 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.925e-05/0.02355, allocations: 12.62 kB / 0.8275 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.117e-05/0.0236, allocations: 20.92 kB / 0.8276 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.02378, allocations: 185.9 kB / 0.8277 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.0238, allocations: 8 kB / 0.8277 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.02382, allocations: 19.98 kB / 0.8278 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.02394, allocations: 83.34 kB / 0.8278 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.02395, allocations: 4 kB / 0.8278 GB, free: 11 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.02396, allocations: 4 kB / 0.8278 GB, free: 11 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.02397, allocations: 0 / 0.8278 GB, free: 11 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.539e-05/0.02401, allocations: 31.91 kB / 0.8279 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004335/0.02444, allocations: 352.1 kB / 0.8282 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.583e-05/0.02454, allocations: 73.06 kB / 0.8283 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.803e-05/0.02457, allocations: 17.78 kB / 0.8283 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.02458, allocations: 11.94 kB / 0.8283 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001196/0.0247, allocations: 108.3 kB / 0.8284 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=15): time 9.22e-07/0.0247, allocations: 0 / 0.8284 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15): time 0.0001551/0.02486, allocations: 105.5 kB / 0.8285 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.0249, allocations: 85.11 kB / 0.8286 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.025, allocations: 190.2 kB / 0.8288 GB, free: 9.949 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.02502, allocations: 33.7 kB / 0.8288 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.045e-05/0.02507, allocations: 120.4 kB / 0.8289 GB, free: 9.789 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.0251, allocations: 31.73 kB / 0.829 GB, free: 9.758 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.532e-05/0.02516, allocations: 57.64 kB / 0.829 GB, free: 9.695 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.02529, allocations: 334.8 kB / 0.8293 GB, free: 9.359 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.719e-05/0.02531, allocations: 12.12 kB / 0.8293 GB, free: 9.348 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.02545, allocations: 239 kB / 0.8296 GB, free: 9.055 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.594e-05/0.02553, allocations: 88.72 kB / 0.8297 GB, free: 8.945 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.02553, allocations: 0 / 0.8297 GB, free: 8.945 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001084/0.02564, allocations: 120.3 kB / 0.8298 GB, free: 8.824 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.02565, allocations: 11.28 kB / 0.8298 GB, free: 8.816 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.02566, allocations: 4 kB / 0.8298 GB, free: 8.812 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.02567, allocations: 0 / 0.8298 GB, free: 8.812 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.353e-05/0.02574, allocations: 35.92 kB / 0.8298 GB, free: 8.777 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.02574, allocations: 0 / 0.8298 GB, free: 8.777 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.009e-05/0.02583, allocations: 23.94 kB / 0.8298 GB, free: 8.754 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.02584, allocations: 8 kB / 0.8298 GB, free: 8.746 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.869e-05/0.02592, allocations: 134.5 kB / 0.83 GB, free: 8.605 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.817e-05/0.02594, allocations: 19.92 kB / 0.83 GB, free: 8.586 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.122e-05/0.02597, allocations: 25.45 kB / 0.83 GB, free: 8.555 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.02597, allocations: 4.094 kB / 0.83 GB, free: 8.551 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.02597, allocations: 0 / 0.83 GB, free: 8.551 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.02598, allocations: 3.984 kB / 0.83 GB, free: 8.547 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002498/0.02623, allocations: 298.5 kB / 0.8303 GB, free: 8.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.02623, allocations: 0 / 0.8303 GB, free: 8.23 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.407e-05/0.02624, allocations: 4 kB / 0.8303 GB, free: 8.227 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.543e-05/0.02626, allocations: 19.84 kB / 0.8303 GB, free: 8.207 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.02626, allocations: 0 / 0.8303 GB, free: 8.207 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.69e-06/0.02627, allocations: 3.984 kB / 0.8303 GB, free: 8.203 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.02627, allocations: 8 kB / 0.8303 GB, free: 8.195 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.02627, allocations: 0 / 0.8303 GB, free: 8.195 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.228e-05/0.02636, allocations: 188.2 kB / 0.8305 GB, free: 7.992 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.02637, allocations: 0 / 0.8305 GB, free: 7.992 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.339e-05/0.02643, allocations: 15.98 kB / 0.8305 GB, free: 7.977 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.588e-05/0.02647, allocations: 19.97 kB / 0.8306 GB, free: 7.957 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.02649, allocations: 7.984 kB / 0.8306 GB, free: 7.949 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.68e-05/0.02652, allocations: 53.81 kB / 0.8306 GB, free: 7.895 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.02653, allocations: 0 / 0.8306 GB, free: 7.895 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001758/0.0267, allocations: 47.88 kB / 0.8307 GB, free: 7.848 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.0004188/0.02712, allocations: 187.5 kB / 0.8308 GB, free: 7.695 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001107/0.02723, allocations: 80.62 kB / 0.8309 GB, free: 7.613 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.02724, allocations: 0 / 0.8309 GB, free: 7.613 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.352e-05/0.02728, allocations: 47.64 kB / 0.831 GB, free: 7.566 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/0.02749, allocations: 63.53 kB / 0.831 GB, free: 7.508 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004995/0.02799, allocations: 329.1 kB / 0.8313 GB, free: 7.156 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.818e-05/0.02803, allocations: 75.84 kB / 0.8314 GB, free: 7.059 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.665e-05/0.02807, allocations: 21.62 kB / 0.8314 GB, free: 7.039 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.02821, allocations: 105.3 kB / 0.8315 GB, free: 6.938 MB / 0.8073 GB Notification: Performance of SimCode: time 5.11e-07/0.02821, allocations: 0 / 0.8315 GB, free: 6.938 MB / 0.8073 GB Notification: Performance of Templates: time 0.00541/0.03362, allocations: 4.106 MB / 0.8355 GB, free: 2.891 MB / 0.8073 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.582485985942185]