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.001336/0.001336, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.001608/0.001608, allocations: 219.5 kB / 23.01 MB, free: 4.609 MB / 14.72 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 1.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.814/2.814, allocations: 476.7 MB / 0.7714 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 66.23 kB / 1.119 GB, free: 40.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3614, allocations: 169.9 MB / 1.285 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003456/0.3649, allocations: 1.792 MB / 1.286 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001759/0.3667, allocations: 0.9514 MB / 1.287 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.291e-05/0.3667, allocations: 0 / 1.287 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002148/0.367, allocations: 35.67 kB / 1.287 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003813/0.3673, allocations: 111.4 kB / 1.287 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000392/0.3677, allocations: 160.9 kB / 1.288 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003384/0.3681, allocations: 255.3 kB / 1.288 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.3682, allocations: 25.73 kB / 1.288 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.3683, allocations: 123.7 kB / 1.288 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01591/0.3843, allocations: 1.993 MB / 1.29 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.782e-05/0.3844, allocations: 24 kB / 1.29 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.3845, allocations: 32 kB / 1.29 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.513e-05/0.3846, allocations: 43.83 kB / 1.29 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.3848, allocations: 91.5 kB / 1.29 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005193/0.3853, allocations: 219.1 kB / 1.29 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.3853, allocations: 0 / 1.29 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3853, allocations: 0 / 1.29 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.29e-05/0.3853, allocations: 4 kB / 1.29 GB, free: 5.938 MB / 0.9825 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.001003/0.3863, allocations: 492.7 kB / 1.291 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.3863, allocations: 12.03 kB / 1.291 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.595e-05/0.3864, allocations: 24.73 kB / 1.291 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000333/0.3868, allocations: 185.8 kB / 1.291 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.3868, allocations: 15.98 kB / 1.291 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.34e-05/0.3868, allocations: 12 kB / 1.291 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.3871, allocations: 115.3 kB / 1.291 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.3871, allocations: 4 kB / 1.291 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.3871, allocations: 4 kB / 1.291 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.3871, allocations: 0 / 1.291 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.3872, allocations: 55.97 kB / 1.291 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009841/0.3882, allocations: 0.5152 MB / 1.292 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.3884, allocations: 97.19 kB / 1.292 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.071e-05/0.3885, allocations: 29.78 kB / 1.292 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.3885, allocations: 7.984 kB / 1.292 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002197/0.3887, allocations: 125 kB / 1.292 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 1.713e-06/0.3887, allocations: 0 / 1.292 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.0003994/0.3891, allocations: 159.2 kB / 1.292 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.548e-05/0.3892, allocations: 85.11 kB / 1.292 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002405/0.3894, allocations: 205.2 kB / 1.292 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.899e-05/0.3895, allocations: 29.7 kB / 1.292 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.3896, allocations: 128.6 kB / 1.292 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.203e-05/0.3896, allocations: 39.72 kB / 1.293 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.782e-05/0.3897, allocations: 57.67 kB / 1.293 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.3899, allocations: 326.8 kB / 1.293 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.237e-05/0.3899, allocations: 35.98 kB / 1.293 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002557/0.3902, allocations: 143.4 kB / 1.293 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.3904, allocations: 114.8 kB / 1.293 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.3904, allocations: 0 / 1.293 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002803/0.3906, allocations: 168 kB / 1.293 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.3907, allocations: 8 kB / 1.293 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3907, allocations: 0 / 1.293 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.3907, allocations: 4 kB / 1.293 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.786e-05/0.3908, allocations: 15.94 kB / 1.293 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.3908, allocations: 0 / 1.293 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002168/0.391, allocations: 40.02 kB / 1.293 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.391, allocations: 4 kB / 1.293 GB, free: 2.449 MB / 0.9825 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.0001486/0.3912, allocations: 143.5 kB / 1.294 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.28e-05/0.3912, allocations: 15.91 kB / 1.294 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.334e-05/0.3912, allocations: 25.45 kB / 1.294 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3912, allocations: 0 / 1.294 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3912, allocations: 3.938 kB / 1.294 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3912, allocations: 3.938 kB / 1.294 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006244/0.3919, allocations: 445.3 kB / 1.294 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3919, allocations: 0 / 1.294 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.514e-05/0.3919, allocations: 4 kB / 1.294 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3919, allocations: 0 / 1.294 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.3919, allocations: 8 kB / 1.294 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.3919, allocations: 3.938 kB / 1.294 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3919, allocations: 0 / 1.294 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002447/0.3922, allocations: 239.2 kB / 1.294 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.588e-05/0.3922, allocations: 23.84 kB / 1.294 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.3922, allocations: 3.984 kB / 1.294 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.3924, allocations: 19.92 kB / 1.294 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.426e-05/0.3924, allocations: 19.97 kB / 1.294 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.138e-05/0.3924, allocations: 4 kB / 1.294 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001289/0.3926, allocations: 147 kB / 1.294 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3926, allocations: 4 kB / 1.294 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003107/0.3929, allocations: 40 kB / 1.295 GB, free: 1.238 MB / 0.9825 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.000429/0.3933, allocations: 171.6 kB / 1.295 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002648/0.3936, allocations: 91.89 kB / 1.295 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3936, allocations: 0 / 1.295 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.717e-05/0.3937, allocations: 50.61 kB / 1.295 GB, free: 0.9453 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004405/0.3941, allocations: 72.83 kB / 1.295 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006282/0.3947, allocations: 321.7 kB / 1.295 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003722/0.3951, allocations: 0.7242 MB / 1.296 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.748e-05/0.3952, allocations: 31.36 kB / 1.296 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of SimCode: time 2.8e-07/0.3952, allocations: 0 / 1.296 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of Templates: time 0.006224/0.4014, allocations: 3.199 MB / 1.299 GB, free: 12.57 MB / 0.9981 GB " [Timeout remaining time 299] 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/jenkins1/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: 12.090764899010537]