Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001627/0.001627, 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.001906/0.001906, allocations: 220.8 kB / 23.01 MB, free: 4.605 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.168/3.168, allocations: 0.505 GB / 0.8108 GB, free: 22.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.001948/0.001948, allocations: 64.8 kB / 1.178 GB, free: 16.98 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3397, allocations: 180.2 MB / 1.354 GB, free: 8.035 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003436/0.3431, allocations: 1.773 MB / 1.356 GB, free: 6.25 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001842/0.3449, allocations: 0.9558 MB / 1.357 GB, free: 5.293 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.251e-05/0.345, allocations: 0 / 1.357 GB, free: 5.293 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002175/0.3452, allocations: 31.72 kB / 1.357 GB, free: 5.262 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004321/0.3457, allocations: 119.4 kB / 1.357 GB, free: 5.145 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004405/0.3461, allocations: 163.6 kB / 1.357 GB, free: 4.984 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003488/0.3465, allocations: 247.4 kB / 1.357 GB, free: 4.742 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.3466, allocations: 25.73 kB / 1.357 GB, free: 4.715 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001677/0.3468, allocations: 115.7 kB / 1.357 GB, free: 4.602 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01377/0.3605, allocations: 1.704 MB / 1.359 GB, free: 3.344 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.704e-05/0.3606, allocations: 20 kB / 1.359 GB, free: 3.324 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.3608, allocations: 36 kB / 1.359 GB, free: 3.289 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.736e-05/0.3609, allocations: 47.81 kB / 1.359 GB, free: 3.242 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.361, allocations: 87.58 kB / 1.359 GB, free: 3.156 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004402/0.3614, allocations: 219.1 kB / 1.359 GB, free: 2.941 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.3614, allocations: 0 / 1.359 GB, free: 2.941 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3614, allocations: 0 / 1.359 GB, free: 2.941 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.939e-06/0.3614, allocations: 4 kB / 1.359 GB, free: 2.938 MB / 1.045 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.0008909/0.3623, allocations: 492.6 kB / 1.36 GB, free: 2.414 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.3624, allocations: 12.03 kB / 1.36 GB, free: 2.402 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.725e-05/0.3625, allocations: 24.8 kB / 1.36 GB, free: 2.379 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.3628, allocations: 185.7 kB / 1.36 GB, free: 2.172 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.3628, allocations: 8 kB / 1.36 GB, free: 2.164 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.763e-05/0.3628, allocations: 19.98 kB / 1.36 GB, free: 2.145 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.363, allocations: 85.66 kB / 1.36 GB, free: 2.055 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.363, allocations: 0 / 1.36 GB, free: 2.055 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.363, allocations: 4 kB / 1.36 GB, free: 2.051 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.363, allocations: 4 kB / 1.36 GB, free: 2.047 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.3632, allocations: 51.97 kB / 1.36 GB, free: 1.996 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008158/0.364, allocations: 439.4 kB / 1.361 GB, free: 1.523 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004246/0.3644, allocations: 130.7 kB / 1.361 GB, free: 1.387 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.502e-05/0.3645, allocations: 28.86 kB / 1.361 GB, free: 1.355 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.3645, allocations: 3.938 kB / 1.361 GB, free: 1.352 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000196/0.3647, allocations: 118.2 kB / 1.361 GB, free: 1.227 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 1.432e-06/0.3647, allocations: 0 / 1.361 GB, free: 1.227 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.0003659/0.365, allocations: 169.4 kB / 1.361 GB, free: 1.055 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.3651, allocations: 55.41 kB / 1.361 GB, free: 0.9883 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.3653, allocations: 202.5 kB / 1.361 GB, free: 0.7773 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.556e-05/0.3653, allocations: 33.64 kB / 1.361 GB, free: 0.7383 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.943e-05/0.3654, allocations: 124.5 kB / 1.362 GB, free: 0.6133 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.75e-05/0.3655, allocations: 31.73 kB / 1.362 GB, free: 0.582 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.216e-05/0.3656, allocations: 57.69 kB / 1.362 GB, free: 0.5195 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.3657, allocations: 334.8 kB / 1.362 GB, free: 188 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.702e-05/0.3658, allocations: 31.98 kB / 1.362 GB, free: 156 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002444/0.366, allocations: 129.5 kB / 1.362 GB, free: 0 / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/0.3662, allocations: 106.8 kB / 1.362 GB, free: 15.88 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.3662, allocations: 0 / 1.362 GB, free: 15.88 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002535/0.3665, allocations: 153.4 kB / 1.362 GB, free: 15.73 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.3665, allocations: 4 kB / 1.362 GB, free: 15.72 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.3665, allocations: 4 kB / 1.362 GB, free: 15.72 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.3665, allocations: 0 / 1.362 GB, free: 15.72 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.271e-05/0.3666, allocations: 16.06 kB / 1.362 GB, free: 15.7 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.3666, allocations: 11.98 kB / 1.362 GB, free: 15.69 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/0.3668, allocations: 27.88 kB / 1.362 GB, free: 15.66 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.3668, allocations: 8 kB / 1.362 GB, free: 15.66 MB / 1.061 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.0001449/0.3669, allocations: 140.2 kB / 1.363 GB, free: 15.51 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.367, allocations: 15.91 kB / 1.363 GB, free: 15.5 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.027e-05/0.367, allocations: 25.8 kB / 1.363 GB, free: 15.47 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.367, allocations: 4 kB / 1.363 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.367, allocations: 4 kB / 1.363 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.367, allocations: 0 / 1.363 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006863/0.3677, allocations: 457.3 kB / 1.363 GB, free: 14.96 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3677, allocations: 4 kB / 1.363 GB, free: 14.96 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.442e-05/0.3677, allocations: 7.984 kB / 1.363 GB, free: 14.95 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.3678, allocations: 4 kB / 1.363 GB, free: 14.95 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.3678, allocations: 4 kB / 1.363 GB, free: 14.95 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.3678, allocations: 7.922 kB / 1.363 GB, free: 14.94 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3678, allocations: 4 kB / 1.363 GB, free: 14.93 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002648/0.368, allocations: 238.2 kB / 1.363 GB, free: 14.69 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.561e-05/0.3681, allocations: 11.91 kB / 1.363 GB, free: 14.68 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.3681, allocations: 8 kB / 1.363 GB, free: 14.67 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.3682, allocations: 19.84 kB / 1.363 GB, free: 14.65 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.391e-05/0.3683, allocations: 23.91 kB / 1.363 GB, free: 14.62 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-05/0.3683, allocations: 11.94 kB / 1.363 GB, free: 14.61 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001359/0.3685, allocations: 144.5 kB / 1.364 GB, free: 14.47 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3685, allocations: 0 / 1.364 GB, free: 14.47 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003055/0.3688, allocations: 44 kB / 1.364 GB, free: 14.43 MB / 1.061 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.0004175/0.3692, allocations: 165.3 kB / 1.364 GB, free: 14.28 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002432/0.3694, allocations: 95.89 kB / 1.364 GB, free: 14.18 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3694, allocations: 0 / 1.364 GB, free: 14.18 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.3695, allocations: 51.86 kB / 1.364 GB, free: 14.13 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004479/0.37, allocations: 65.02 kB / 1.364 GB, free: 14.08 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007245/0.3707, allocations: 348.7 kB / 1.364 GB, free: 13.7 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003848/0.3711, allocations: 0.7242 MB / 1.365 GB, free: 12.95 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.846e-05/0.3712, allocations: 23.42 kB / 1.365 GB, free: 12.93 MB / 1.061 GB Notification: Performance of SimCode: time 4.31e-07/0.3712, allocations: 0 / 1.365 GB, free: 12.93 MB / 1.061 GB Notification: Performance of Templates: time 0.006613/0.3778, allocations: 3.234 MB / 1.368 GB, free: 9.703 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.858740585012129]