Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001582/0.001582, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001786/0.001786, allocations: 217.5 kB / 22.99 MB, free: 4.945 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.554/1.554, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.855/2.855, allocations: 476 MB / 0.7707 GB, free: 4.723 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.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_11_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_11_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.003265/0.003265, allocations: 65.03 kB / 1.118 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3526, allocations: 170 MB / 1.284 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003849/0.3564, allocations: 1.722 MB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00176/0.3582, allocations: 0.9008 MB / 1.286 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.23e-05/0.3583, allocations: 0 / 1.286 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001912/0.3585, allocations: 35.72 kB / 1.286 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003798/0.3588, allocations: 119.4 kB / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000396/0.3592, allocations: 158.8 kB / 1.287 GB, free: 9 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003242/0.3596, allocations: 247.3 kB / 1.287 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.3597, allocations: 21.73 kB / 1.287 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.3599, allocations: 115.7 kB / 1.287 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01362/0.3735, allocations: 1.709 MB / 1.289 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.573e-05/0.3736, allocations: 16 kB / 1.289 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.3737, allocations: 32 kB / 1.289 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.372e-05/0.3738, allocations: 39.83 kB / 1.289 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.3739, allocations: 79.69 kB / 1.289 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004504/0.3744, allocations: 227.1 kB / 1.289 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3744, allocations: 0 / 1.289 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3744, allocations: 0 / 1.289 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.3744, allocations: 4 kB / 1.289 GB, free: 6.973 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.0009272/0.3753, allocations: 488.7 kB / 1.29 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.3754, allocations: 8.031 kB / 1.29 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.096e-05/0.3754, allocations: 24.8 kB / 1.29 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003095/0.3757, allocations: 185.8 kB / 1.29 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.3758, allocations: 11.95 kB / 1.29 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.457e-05/0.3758, allocations: 15.98 kB / 1.29 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.376, allocations: 89.66 kB / 1.29 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.376, allocations: 4 kB / 1.29 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.376, allocations: 4 kB / 1.29 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.376, allocations: 4 kB / 1.29 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.3761, allocations: 51.95 kB / 1.29 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007855/0.3769, allocations: 384 kB / 1.29 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004447/0.3774, allocations: 134.6 kB / 1.29 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.021e-05/0.3774, allocations: 32.84 kB / 1.29 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.3775, allocations: 0 / 1.29 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002958/0.3778, allocations: 107.4 kB / 1.291 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.353e-06/0.3778, allocations: 0 / 1.291 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0003875/0.3781, allocations: 173.5 kB / 1.291 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/0.3782, allocations: 59.41 kB / 1.291 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/0.3784, allocations: 197 kB / 1.291 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.177e-05/0.3785, allocations: 33.7 kB / 1.291 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.3786, allocations: 120.5 kB / 1.291 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.307e-05/0.3787, allocations: 43.72 kB / 1.291 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.233e-05/0.3787, allocations: 53.67 kB / 1.291 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.3789, allocations: 330.8 kB / 1.291 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.038e-05/0.379, allocations: 31.98 kB / 1.292 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003447/0.3793, allocations: 238.4 kB / 1.292 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.3795, allocations: 108.1 kB / 1.292 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3795, allocations: 0 / 1.292 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000262/0.3798, allocations: 148.2 kB / 1.292 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.3798, allocations: 4 kB / 1.292 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.3798, allocations: 4 kB / 1.292 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.3798, allocations: 0 / 1.292 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.403e-05/0.3799, allocations: 19.94 kB / 1.292 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.3799, allocations: 7.984 kB / 1.292 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/0.3801, allocations: 32 kB / 1.292 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.3801, allocations: 4 kB / 1.292 GB, free: 3.629 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.000156/0.3803, allocations: 139.5 kB / 1.292 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.454e-05/0.3803, allocations: 23.8 kB / 1.292 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.582e-05/0.3803, allocations: 21.8 kB / 1.292 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.3803, allocations: 4 kB / 1.292 GB, free: 3.434 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.3803, allocations: 0 / 1.292 GB, free: 3.434 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.3804, allocations: 0 / 1.292 GB, free: 3.434 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007014/0.3811, allocations: 428.7 kB / 1.293 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3811, allocations: 0 / 1.293 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.281e-05/0.3811, allocations: 4 kB / 1.293 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3811, allocations: 0 / 1.293 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.3811, allocations: 0 / 1.293 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.3811, allocations: 3.938 kB / 1.293 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3811, allocations: 0 / 1.293 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/0.3814, allocations: 239.3 kB / 1.293 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.166e-05/0.3814, allocations: 19.84 kB / 1.293 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.3814, allocations: 0 / 1.293 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.3816, allocations: 23.92 kB / 1.293 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.638e-05/0.3816, allocations: 31.88 kB / 1.293 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.3817, allocations: 7.984 kB / 1.293 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001467/0.3818, allocations: 148 kB / 1.293 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3818, allocations: 0 / 1.293 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003082/0.3821, allocations: 43.98 kB / 1.293 GB, free: 2.453 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.0004222/0.3825, allocations: 171.1 kB / 1.293 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002591/0.3828, allocations: 94.41 kB / 1.293 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3828, allocations: 256 / 1.293 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.3829, allocations: 55.86 kB / 1.293 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004222/0.3833, allocations: 52.58 kB / 1.293 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00072/0.384, allocations: 347.3 kB / 1.294 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.3842, allocations: 116.1 kB / 1.294 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.256e-05/0.3842, allocations: 23.42 kB / 1.294 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of SimCode: time 5.11e-07/0.3842, allocations: 0 / 1.294 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of Templates: time 0.006525/0.3908, allocations: 3.277 MB / 1.297 GB, free: 14.33 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.16651610005647]