Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.001328/0.001328, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001485/0.001485, allocations: 222.2 kB / 23 MB, free: 4.91 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.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.328/3.328, allocations: 0.4892 GB / 0.7951 GB, free: 35.65 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") [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.002114/0.002114, allocations: 71.25 kB / 1.154 GB, free: 25.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3617, allocations: 176.1 MB / 1.326 GB, free: 1.797 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003458/0.3652, allocations: 1.723 MB / 1.328 GB, free: 64 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001815/0.367, allocations: 0.9047 MB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.371e-05/0.3671, allocations: 7.938 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001963/0.3673, allocations: 23.73 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004167/0.3677, allocations: 119.4 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004028/0.3681, allocations: 158.6 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003261/0.3684, allocations: 247.3 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.3685, allocations: 25.73 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001584/0.3687, allocations: 123.6 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01371/0.3824, allocations: 1.7 MB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.736e-05/0.3825, allocations: 20 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.3826, allocations: 39.98 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.06e-05/0.3827, allocations: 35.84 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001372/0.3829, allocations: 87.56 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004208/0.3833, allocations: 219.2 kB / 1.332 GB, free: 12.82 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3833, allocations: 0 / 1.332 GB, free: 12.82 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.744e-06/0.3833, allocations: 0 / 1.332 GB, free: 12.82 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.3833, allocations: 0 / 1.332 GB, free: 12.82 MB / 1.029 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.0009101/0.3842, allocations: 492.7 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.3842, allocations: 8.031 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.067e-05/0.3843, allocations: 28.8 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003295/0.3847, allocations: 189.7 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.3847, allocations: 8 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.734e-05/0.3847, allocations: 16 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.3849, allocations: 89.59 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.3849, allocations: 0 / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.3849, allocations: 8 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3849, allocations: 0 / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.3851, allocations: 47.97 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000809/0.3859, allocations: 380.1 kB / 1.333 GB, free: 11.47 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004543/0.3863, allocations: 126.7 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.119e-05/0.3864, allocations: 28.84 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.3864, allocations: 4 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002931/0.3867, allocations: 111.3 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.833e-06/0.3867, allocations: 0 / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0003796/0.3871, allocations: 169.6 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/0.3871, allocations: 59.39 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.3874, allocations: 199.2 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.589e-05/0.3874, allocations: 29.7 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.3875, allocations: 124.5 kB / 1.334 GB, free: 10.57 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.112e-05/0.3876, allocations: 35.73 kB / 1.334 GB, free: 10.54 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.3877, allocations: 57.67 kB / 1.334 GB, free: 10.48 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.3878, allocations: 326.8 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.635e-05/0.3879, allocations: 43.92 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003404/0.3883, allocations: 235 kB / 1.334 GB, free: 9.824 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.3884, allocations: 104.1 kB / 1.334 GB, free: 9.707 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3884, allocations: 4 kB / 1.334 GB, free: 9.703 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002701/0.3887, allocations: 160.3 kB / 1.334 GB, free: 9.543 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.3887, allocations: 8 kB / 1.335 GB, free: 9.535 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3887, allocations: 4.125 kB / 1.335 GB, free: 9.531 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.3887, allocations: 4 kB / 1.335 GB, free: 9.527 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.935e-05/0.3888, allocations: 23.98 kB / 1.335 GB, free: 9.504 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.3888, allocations: 3.938 kB / 1.335 GB, free: 9.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.389, allocations: 27.88 kB / 1.335 GB, free: 9.473 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.3891, allocations: 8 kB / 1.335 GB, free: 9.465 MB / 1.029 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.000159/0.3892, allocations: 140 kB / 1.335 GB, free: 9.316 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.292e-05/0.3893, allocations: 15.91 kB / 1.335 GB, free: 9.301 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.102e-05/0.3893, allocations: 17.81 kB / 1.335 GB, free: 9.277 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-06/0.3893, allocations: 4 kB / 1.335 GB, free: 9.273 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3893, allocations: 0 / 1.335 GB, free: 9.273 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.3893, allocations: 7.984 kB / 1.335 GB, free: 9.266 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000692/0.39, allocations: 417.3 kB / 1.335 GB, free: 8.824 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.39, allocations: 0 / 1.335 GB, free: 8.824 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.488e-05/0.39, allocations: 7.938 kB / 1.335 GB, free: 8.816 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.39, allocations: 0 / 1.335 GB, free: 8.816 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.3901, allocations: 7.984 kB / 1.335 GB, free: 8.809 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.3901, allocations: 4 kB / 1.335 GB, free: 8.805 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3901, allocations: 0 / 1.335 GB, free: 8.805 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000278/0.3903, allocations: 239.2 kB / 1.335 GB, free: 8.555 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.952e-05/0.3904, allocations: 15.91 kB / 1.335 GB, free: 8.539 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.3904, allocations: 0 / 1.335 GB, free: 8.539 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.3905, allocations: 15.98 kB / 1.335 GB, free: 8.523 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.151e-05/0.3906, allocations: 35.77 kB / 1.335 GB, free: 8.488 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.149e-05/0.3906, allocations: 4 kB / 1.335 GB, free: 8.484 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001502/0.3908, allocations: 144.2 kB / 1.336 GB, free: 8.344 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3908, allocations: 4 kB / 1.336 GB, free: 8.34 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000304/0.3911, allocations: 40 kB / 1.336 GB, free: 8.301 MB / 1.029 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.0004445/0.3915, allocations: 188.5 kB / 1.336 GB, free: 8.133 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002399/0.3918, allocations: 95.81 kB / 1.336 GB, free: 8.039 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3918, allocations: 0 / 1.336 GB, free: 8.039 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.3919, allocations: 55.84 kB / 1.336 GB, free: 7.984 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004254/0.3923, allocations: 48.67 kB / 1.336 GB, free: 7.941 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007298/0.393, allocations: 353 kB / 1.336 GB, free: 7.566 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.3931, allocations: 112.1 kB / 1.336 GB, free: 7.438 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.795e-05/0.3932, allocations: 19.44 kB / 1.336 GB, free: 7.418 MB / 1.029 GB Notification: Performance of SimCode: time 4.51e-07/0.3932, allocations: 3.938 kB / 1.336 GB, free: 7.414 MB / 1.029 GB Notification: Performance of Templates: time 0.006187/0.3994, allocations: 3.273 MB / 1.34 GB, free: 4.156 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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: 12.297442611772567]