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.001787/0.001787, allocations: 108.1 kB / 16.45 MB, free: 6.453 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.002063/0.002063, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.525/1.525, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.249/3.249, allocations: 0.49 GB / 0.7916 GB, free: 33.37 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.00217/0.00217, allocations: 64.03 kB / 1.149 GB, free: 26.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3508, allocations: 176.1 MB / 1.321 GB, free: 2.828 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003235/0.354, allocations: 1.762 MB / 1.323 GB, free: 1.051 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00165/0.3557, allocations: 0.9435 MB / 1.324 GB, free: 108 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.268e-05/0.3558, allocations: 4 kB / 1.324 GB, free: 104 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001798/0.3559, allocations: 23.72 kB / 1.324 GB, free: 80 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003817/0.3563, allocations: 131.4 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003609/0.3567, allocations: 154.5 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003117/0.357, allocations: 235.4 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.3571, allocations: 33.59 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.3573, allocations: 107.7 kB / 1.325 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01346/0.3707, allocations: 1.702 MB / 1.326 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.131e-05/0.3708, allocations: 20 kB / 1.326 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.3709, allocations: 39.98 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.806e-05/0.371, allocations: 39.84 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.3711, allocations: 95.48 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003979/0.3715, allocations: 219.1 kB / 1.327 GB, free: 13.77 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3715, allocations: 0 / 1.327 GB, free: 13.77 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3715, allocations: 0 / 1.327 GB, free: 13.77 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.3715, allocations: 0 / 1.327 GB, free: 13.77 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.0009141/0.3725, allocations: 0.5603 MB / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.3725, allocations: 11.98 kB / 1.327 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.239e-05/0.3726, allocations: 24.8 kB / 1.327 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003041/0.3729, allocations: 251.5 kB / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.3729, allocations: 8 kB / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.3729, allocations: 19.98 kB / 1.327 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.3731, allocations: 91.55 kB / 1.328 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.3731, allocations: 0 / 1.328 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.3731, allocations: 7.984 kB / 1.328 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3732, allocations: 0 / 1.328 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.3733, allocations: 55.91 kB / 1.328 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007947/0.3741, allocations: 464.4 kB / 1.328 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004413/0.3745, allocations: 126.7 kB / 1.328 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.434e-05/0.3746, allocations: 32.84 kB / 1.328 GB, free: 11.97 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.3746, allocations: 4 kB / 1.328 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002531/0.3749, allocations: 111.3 kB / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.312e-06/0.3749, allocations: 0 / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0003565/0.3752, allocations: 176.4 kB / 1.328 GB, free: 11.67 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.3753, allocations: 55.34 kB / 1.328 GB, free: 11.6 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/0.3755, allocations: 201.3 kB / 1.329 GB, free: 11.39 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.495e-05/0.3755, allocations: 33.7 kB / 1.329 GB, free: 11.35 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.774e-05/0.3756, allocations: 124.5 kB / 1.329 GB, free: 11.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.3756, allocations: 31.73 kB / 1.329 GB, free: 11.2 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.3757, allocations: 61.67 kB / 1.329 GB, free: 11.13 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.3759, allocations: 330.8 kB / 1.329 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.878e-05/0.376, allocations: 31.98 kB / 1.329 GB, free: 10.77 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002542/0.3762, allocations: 135.5 kB / 1.329 GB, free: 10.61 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.3764, allocations: 98.8 kB / 1.329 GB, free: 10.5 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3764, allocations: 0 / 1.329 GB, free: 10.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002598/0.3766, allocations: 157.5 kB / 1.33 GB, free: 10.34 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.3766, allocations: 4 kB / 1.33 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.3766, allocations: 4 kB / 1.33 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.3766, allocations: 3.938 kB / 1.33 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.047e-05/0.3767, allocations: 15.94 kB / 1.33 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.3767, allocations: 4 kB / 1.33 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002267/0.377, allocations: 31.86 kB / 1.33 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.377, allocations: 4 kB / 1.33 GB, free: 10.27 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.0001373/0.3771, allocations: 143.6 kB / 1.33 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.23e-05/0.3771, allocations: 15.91 kB / 1.33 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.014e-05/0.3772, allocations: 21.86 kB / 1.33 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3772, allocations: 4 kB / 1.33 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3772, allocations: 0 / 1.33 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3772, allocations: 0 / 1.33 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007149/0.3779, allocations: 498.2 kB / 1.33 GB, free: 9.531 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3779, allocations: 8.047 kB / 1.33 GB, free: 9.523 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.556e-05/0.3779, allocations: 7.922 kB / 1.33 GB, free: 9.516 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.3779, allocations: 4 kB / 1.33 GB, free: 9.512 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.988e-06/0.378, allocations: 0 / 1.33 GB, free: 9.512 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.378, allocations: 3.938 kB / 1.33 GB, free: 9.508 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.378, allocations: 0 / 1.33 GB, free: 9.508 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002579/0.3782, allocations: 238.3 kB / 1.331 GB, free: 9.262 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.116e-05/0.3783, allocations: 92.95 kB / 1.331 GB, free: 9.152 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.824e-05/0.3783, allocations: 11.98 kB / 1.331 GB, free: 9.141 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.3785, allocations: 15.92 kB / 1.331 GB, free: 9.125 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.802e-05/0.3785, allocations: 23.97 kB / 1.331 GB, free: 9.102 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.33e-05/0.3786, allocations: 4 kB / 1.331 GB, free: 9.098 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001411/0.3787, allocations: 143.3 kB / 1.331 GB, free: 8.957 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3787, allocations: 4 kB / 1.331 GB, free: 8.953 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000316/0.379, allocations: 39.94 kB / 1.331 GB, free: 8.914 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.0004401/0.3795, allocations: 173 kB / 1.331 GB, free: 8.758 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002459/0.3797, allocations: 95.89 kB / 1.331 GB, free: 8.664 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3797, allocations: 0 / 1.331 GB, free: 8.664 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.3798, allocations: 55.91 kB / 1.331 GB, free: 8.609 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004433/0.3802, allocations: 59.05 kB / 1.331 GB, free: 8.559 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007373/0.381, allocations: 321.7 kB / 1.332 GB, free: 8.223 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003775/0.3814, allocations: 0.7284 MB / 1.332 GB, free: 7.469 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.725e-05/0.3815, allocations: 25.53 kB / 1.332 GB, free: 7.441 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.88e-05/0.3815, allocations: 23.42 kB / 1.332 GB, free: 7.418 MB / 1.029 GB Notification: Performance of SimCode: time 2.6e-07/0.3815, allocations: 0 / 1.332 GB, free: 7.418 MB / 1.029 GB Notification: Performance of Templates: time 0.008514/0.39, allocations: 3.738 MB / 1.336 GB, free: 3.707 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/jenkins/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: 9.051441521849483]