Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008215/0.0008215, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001113/0.001934, 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.0007344/0.0007344, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009815/0.001716, 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.9409/0.9409, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0878/1.029, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.81/1.81, allocations: 378.3 MB / 0.6079 GB, free: 7.68 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4605/2.27, allocations: 123.3 MB / 0.7283 GB, free: 5.719 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.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.7296 GB, free: 4.434 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.177e-05/2.329e-05, allocations: 2.312 kB / 0.7296 GB, free: 4.43 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.002363/0.002386, allocations: 1.84 MB / 0.7314 GB, free: 2.609 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.003649, allocations: 0.9411 MB / 0.7323 GB, free: 1.676 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.608e-05/0.003745, allocations: 3.938 kB / 0.7323 GB, free: 1.672 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001303/0.003876, allocations: 29.14 kB / 0.7324 GB, free: 1.645 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002555/0.004131, allocations: 119.8 kB / 0.7325 GB, free: 1.539 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002949/0.004426, allocations: 159.1 kB / 0.7326 GB, free: 1.387 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002779/0.004704, allocations: 248.6 kB / 0.7329 GB, free: 1.148 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.004854, allocations: 30.39 kB / 0.7329 GB, free: 1.117 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01342/0.01827, allocations: 5.288 MB / 0.7381 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.01847, allocations: 95.73 kB / 0.7382 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.459e-05/0.01851, allocations: 12 kB / 0.7382 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.01861, allocations: 31.94 kB / 0.7382 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.339e-05/0.01867, allocations: 35.86 kB / 0.7382 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.089e-05/0.01874, allocations: 45.39 kB / 0.7383 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002826/0.01903, allocations: 155.4 kB / 0.7384 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.342e-05/0.01904, allocations: 0 / 0.7384 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.603e-06/0.01904, allocations: 0 / 0.7384 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.01905, allocations: 2.438 kB / 0.7384 GB, free: 13.42 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.000653/0.01971, allocations: 499 kB / 0.7389 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.01975, allocations: 8.031 kB / 0.7389 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.183e-05/0.0198, allocations: 23.7 kB / 0.7389 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.02003, allocations: 185.6 kB / 0.7391 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.02005, allocations: 8 kB / 0.7391 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/0.02008, allocations: 16 kB / 0.7391 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.02021, allocations: 91.28 kB / 0.7392 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.02022, allocations: 0 / 0.7392 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.02023, allocations: 11.98 kB / 0.7392 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.02024, allocations: 4 kB / 0.7392 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.897e-05/0.02029, allocations: 28.7 kB / 0.7393 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005436/0.02083, allocations: 356.5 kB / 0.7396 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.02094, allocations: 77.05 kB / 0.7397 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.963e-05/0.02097, allocations: 21.77 kB / 0.7397 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.02098, allocations: 4 kB / 0.7397 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001352/0.02112, allocations: 101.2 kB / 0.7398 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 1.953e-06/0.02112, allocations: 3.031 kB / 0.7398 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0001941/0.02131, allocations: 105.5 kB / 0.7399 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.02137, allocations: 81.11 kB / 0.74 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.0215, allocations: 187.8 kB / 0.7402 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.02152, allocations: 33.7 kB / 0.7402 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.304e-05/0.02159, allocations: 116.4 kB / 0.7403 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.02162, allocations: 35.72 kB / 0.7403 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.948e-05/0.02169, allocations: 63.06 kB / 0.7404 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.952e-05/0.02179, allocations: 330.8 kB / 0.7407 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.306e-05/0.02182, allocations: 12 kB / 0.7407 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001934/0.02201, allocations: 230.3 kB / 0.7409 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.85e-05/0.02211, allocations: 96.06 kB / 0.741 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.02211, allocations: 4 kB / 0.741 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001609/0.02227, allocations: 119.5 kB / 0.7412 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.02229, allocations: 8 kB / 0.7412 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.0223, allocations: 0 / 0.7412 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.02232, allocations: 4.969 kB / 0.7412 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.793e-05/0.02241, allocations: 27.92 kB / 0.7412 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.02241, allocations: 4.531 kB / 0.7412 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.02252, allocations: 24.53 kB / 0.7412 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.02253, allocations: 8 kB / 0.7412 GB, free: 10.29 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 0.00011/0.02264, allocations: 135.2 kB / 0.7414 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.067e-05/0.02266, allocations: 16.48 kB / 0.7414 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.234e-05/0.0227, allocations: 26.98 kB / 0.7414 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.02271, allocations: 4 kB / 0.7414 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.02271, allocations: 0 / 0.7414 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.02272, allocations: 0 / 0.7414 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003599/0.02308, allocations: 289.6 kB / 0.7417 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.02308, allocations: 0 / 0.7417 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.728e-05/0.02311, allocations: 12 kB / 0.7417 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.961e-05/0.02313, allocations: 19.83 kB / 0.7417 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.02313, allocations: 2.438 kB / 0.7417 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.02314, allocations: 4 kB / 0.7417 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.02314, allocations: 4 kB / 0.7417 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.02314, allocations: 0 / 0.7417 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/0.02329, allocations: 188.2 kB / 0.7419 GB, free: 9.555 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.02331, allocations: 7.984 kB / 0.7419 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.489e-05/0.02337, allocations: 13.98 kB / 0.7419 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.977e-05/0.02344, allocations: 19.97 kB / 0.7419 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.02346, allocations: 4.094 kB / 0.7419 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.76e-05/0.02351, allocations: 50.44 kB / 0.742 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.02351, allocations: 0 / 0.742 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000187/0.0237, allocations: 52.62 kB / 0.742 GB, free: 9.41 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.000415/0.02411, allocations: 175.8 kB / 0.7422 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000149/0.02426, allocations: 91.39 kB / 0.7423 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/0.02428, allocations: 8 kB / 0.7423 GB, free: 9.184 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.753e-05/0.02433, allocations: 40.72 kB / 0.7423 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.02473, allocations: 389.5 kB / 0.7427 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007467/0.02548, allocations: 329.3 kB / 0.743 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.911e-05/0.02553, allocations: 72.77 kB / 0.7431 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.084e-05/0.0256, allocations: 22.2 kB / 0.7431 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.02577, allocations: 113.8 kB / 0.7432 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of SimCode: time 1.213e-06/0.02577, allocations: 0 / 0.7432 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of Templates: time 0.006358/0.03213, allocations: 4.075 MB / 0.7472 GB, free: 4.219 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput/Buildings_12_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: 4.96731252130121]