Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.001796/0.001796, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002254/0.002254, allocations: 216.3 kB / 22.25 MB, free: 4.855 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.523/1.523, allocations: 230.6 MB / 256 MB, free: 7.801 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.778/2.778, allocations: 476 MB / 0.7699 GB, free: 4.773 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.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") [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.002142/0.002142, allocations: 67.98 kB / 1.117 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3608, allocations: 170 MB / 1.283 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003261/0.3641, allocations: 1.724 MB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001697/0.3658, allocations: 0.9085 MB / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.925e-05/0.3659, allocations: 3.938 kB / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001963/0.3661, allocations: 35.72 kB / 1.286 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003736/0.3664, allocations: 111.5 kB / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003675/0.3668, allocations: 160.6 kB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003149/0.3671, allocations: 239.4 kB / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.3672, allocations: 29.72 kB / 1.286 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001524/0.3674, allocations: 119.6 kB / 1.286 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01628/0.3837, allocations: 2.026 MB / 1.288 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.359e-05/0.3837, allocations: 16 kB / 1.288 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.3838, allocations: 32 kB / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.773e-05/0.3839, allocations: 43.78 kB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.384, allocations: 83.61 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003525/0.3844, allocations: 211.2 kB / 1.289 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.3844, allocations: 3.984 kB / 1.289 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3844, allocations: 0 / 1.289 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.71e-06/0.3844, allocations: 8 kB / 1.289 GB, free: 6.742 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008331/0.3852, allocations: 496.6 kB / 1.289 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.3853, allocations: 8.031 kB / 1.289 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.186e-05/0.3853, allocations: 24.8 kB / 1.289 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003044/0.3856, allocations: 181.8 kB / 1.289 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.3857, allocations: 15.95 kB / 1.289 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.536e-05/0.3857, allocations: 8 kB / 1.289 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/0.3859, allocations: 101.6 kB / 1.289 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.3859, allocations: 3.984 kB / 1.289 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.3859, allocations: 4 kB / 1.289 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.3859, allocations: 4 kB / 1.289 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.386, allocations: 47.97 kB / 1.289 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007519/0.3868, allocations: 376.1 kB / 1.29 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000441/0.3872, allocations: 126.8 kB / 1.29 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.427e-05/0.3873, allocations: 32.84 kB / 1.29 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.3873, allocations: 0 / 1.29 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002345/0.3875, allocations: 118.7 kB / 1.29 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.292e-06/0.3875, allocations: 0 / 1.29 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0003474/0.3879, allocations: 169.6 kB / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.3879, allocations: 59.34 kB / 1.29 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.3881, allocations: 197.3 kB / 1.29 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.746e-05/0.3882, allocations: 33.7 kB / 1.291 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.709e-05/0.3883, allocations: 120.5 kB / 1.291 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.478e-05/0.3883, allocations: 43.72 kB / 1.291 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.811e-05/0.3884, allocations: 53.69 kB / 1.291 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3886, allocations: 334.8 kB / 1.291 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.807e-05/0.3886, allocations: 39.86 kB / 1.291 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003056/0.3889, allocations: 237.8 kB / 1.291 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.3891, allocations: 106.7 kB / 1.291 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3891, allocations: 0 / 1.291 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002638/0.3893, allocations: 157.4 kB / 1.292 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.3894, allocations: 6.5 kB / 1.292 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3894, allocations: 4 kB / 1.292 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.3894, allocations: 0 / 1.292 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.766e-05/0.3894, allocations: 12 kB / 1.292 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.3894, allocations: 7.938 kB / 1.292 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.3897, allocations: 35.98 kB / 1.292 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.3897, allocations: 4 kB / 1.292 GB, free: 3.391 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,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,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * 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.0001342/0.3898, allocations: 135.5 kB / 1.292 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.295e-05/0.3898, allocations: 19.86 kB / 1.292 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.29e-05/0.3899, allocations: 21.8 kB / 1.292 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3899, allocations: 4 kB / 1.292 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3899, allocations: 0 / 1.292 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3899, allocations: 0 / 1.292 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006497/0.3905, allocations: 425.9 kB / 1.292 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3906, allocations: 0 / 1.292 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.271e-05/0.3906, allocations: 7.938 kB / 1.292 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3906, allocations: 0 / 1.292 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.3906, allocations: 0 / 1.292 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.3906, allocations: 4 kB / 1.292 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3906, allocations: 0 / 1.292 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/0.3908, allocations: 242.3 kB / 1.292 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.845e-05/0.3909, allocations: 19.8 kB / 1.292 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.3909, allocations: 8 kB / 1.292 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.391, allocations: 15.97 kB / 1.292 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.01e-05/0.3911, allocations: 31.78 kB / 1.293 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/0.3911, allocations: 12 kB / 1.293 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001376/0.3913, allocations: 147 kB / 1.293 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3913, allocations: 0 / 1.293 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003102/0.3916, allocations: 47.98 kB / 1.293 GB, free: 2.211 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.0003849/0.392, allocations: 161.7 kB / 1.293 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002335/0.3922, allocations: 95.89 kB / 1.293 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3922, allocations: 4.25 kB / 1.293 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.994e-05/0.3923, allocations: 55.86 kB / 1.293 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004109/0.3927, allocations: 57.69 kB / 1.293 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005487/0.3933, allocations: 287.1 kB / 1.293 GB, free: 1.559 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.3934, allocations: 112.1 kB / 1.293 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.741e-05/0.3935, allocations: 25.56 kB / 1.293 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.643e-05/0.3935, allocations: 27.38 kB / 1.294 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3935, allocations: 0 / 1.294 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of Templates: time 0.00851/0.402, allocations: 4.094 MB / 1.298 GB, free: 13.37 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.014605104923248]