Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001541/0.001541, 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.001748/0.001748, allocations: 222.3 kB / 23 MB, free: 4.914 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.429/1.429, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.185/3.185, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 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.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_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_latest_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.002014/0.002014, allocations: 66.36 kB / 1.187 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3615, allocations: 181.9 MB / 1.365 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003425/0.3649, allocations: 1.736 MB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001771/0.3667, allocations: 0.8979 MB / 1.367 GB, free: 10.95 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.131e-05/0.3667, allocations: 8 kB / 1.367 GB, free: 10.94 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001844/0.3669, allocations: 23.72 kB / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000384/0.3673, allocations: 127.4 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003547/0.3677, allocations: 153.7 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003154/0.368, allocations: 243.4 kB / 1.368 GB, free: 10.4 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.3681, allocations: 25.73 kB / 1.368 GB, free: 10.38 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001502/0.3683, allocations: 119.6 kB / 1.368 GB, free: 10.26 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01609/0.3843, allocations: 2.031 MB / 1.37 GB, free: 8.77 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.664e-05/0.3844, allocations: 16 kB / 1.37 GB, free: 8.754 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.3846, allocations: 43.98 kB / 1.37 GB, free: 8.711 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.749e-05/0.3846, allocations: 43.83 kB / 1.37 GB, free: 8.668 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.3847, allocations: 71.7 kB / 1.37 GB, free: 8.598 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004005/0.3851, allocations: 227 kB / 1.37 GB, free: 8.375 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3852, allocations: 0 / 1.37 GB, free: 8.375 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3852, allocations: 0 / 1.37 GB, free: 8.375 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.3852, allocations: 0 / 1.37 GB, free: 8.375 MB / 1.061 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.0008789/0.386, allocations: 488.7 kB / 1.371 GB, free: 7.855 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.3861, allocations: 8.031 kB / 1.371 GB, free: 7.848 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.833e-05/0.3862, allocations: 28.84 kB / 1.371 GB, free: 7.82 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/0.3865, allocations: 189.7 kB / 1.371 GB, free: 7.609 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.3865, allocations: 7.984 kB / 1.371 GB, free: 7.602 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.731e-05/0.3865, allocations: 16 kB / 1.371 GB, free: 7.586 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.3867, allocations: 99.44 kB / 1.371 GB, free: 7.484 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.3867, allocations: 0 / 1.371 GB, free: 7.484 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.3867, allocations: 0 / 1.371 GB, free: 7.484 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.3867, allocations: 0 / 1.371 GB, free: 7.484 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.3869, allocations: 51.97 kB / 1.371 GB, free: 7.434 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008235/0.3877, allocations: 380.1 kB / 1.371 GB, free: 7.031 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004297/0.3881, allocations: 126.7 kB / 1.372 GB, free: 6.898 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.534e-05/0.3882, allocations: 32.84 kB / 1.372 GB, free: 6.863 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.3882, allocations: 0 / 1.372 GB, free: 6.863 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000186/0.3884, allocations: 111.5 kB / 1.372 GB, free: 6.742 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.3884, allocations: 0 / 1.372 GB, free: 6.742 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.0003612/0.3887, allocations: 176.7 kB / 1.372 GB, free: 6.566 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.3888, allocations: 59.41 kB / 1.372 GB, free: 6.496 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.389, allocations: 198.5 kB / 1.372 GB, free: 6.289 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.781e-05/0.389, allocations: 33.7 kB / 1.372 GB, free: 6.25 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.3892, allocations: 120.5 kB / 1.372 GB, free: 6.129 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.966e-05/0.3892, allocations: 35.69 kB / 1.372 GB, free: 6.094 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.601e-05/0.3893, allocations: 61.67 kB / 1.372 GB, free: 6.027 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.3894, allocations: 326.8 kB / 1.373 GB, free: 5.699 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.063e-05/0.3895, allocations: 35.98 kB / 1.373 GB, free: 5.664 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000324/0.3898, allocations: 238.5 kB / 1.373 GB, free: 5.379 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.39, allocations: 110.3 kB / 1.373 GB, free: 5.258 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.39, allocations: 0 / 1.373 GB, free: 5.258 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000252/0.3902, allocations: 147.9 kB / 1.373 GB, free: 5.109 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.3903, allocations: 4.125 kB / 1.373 GB, free: 5.105 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3903, allocations: 4 kB / 1.373 GB, free: 5.102 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.3903, allocations: 4 kB / 1.373 GB, free: 5.098 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.726e-05/0.3904, allocations: 27.86 kB / 1.373 GB, free: 5.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.3904, allocations: 0 / 1.373 GB, free: 5.07 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.3906, allocations: 23.88 kB / 1.373 GB, free: 5.047 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.3906, allocations: 12 kB / 1.373 GB, free: 5.035 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.0001452/0.3907, allocations: 135.5 kB / 1.373 GB, free: 4.895 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.451e-05/0.3908, allocations: 23.89 kB / 1.373 GB, free: 4.871 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.961e-05/0.3908, allocations: 21.81 kB / 1.373 GB, free: 4.844 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.3908, allocations: 8.031 kB / 1.373 GB, free: 4.836 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3908, allocations: 0 / 1.373 GB, free: 4.836 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3908, allocations: 0 / 1.373 GB, free: 4.836 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007322/0.3916, allocations: 425.8 kB / 1.374 GB, free: 4.383 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3916, allocations: 0 / 1.374 GB, free: 4.383 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.018e-05/0.3916, allocations: 0 / 1.374 GB, free: 4.383 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.3916, allocations: 4 kB / 1.374 GB, free: 4.379 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.3916, allocations: 4 kB / 1.374 GB, free: 4.375 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.3916, allocations: 7.984 kB / 1.374 GB, free: 4.367 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3916, allocations: 0 / 1.374 GB, free: 4.367 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003269/0.3919, allocations: 239.2 kB / 1.374 GB, free: 4.117 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.188e-05/0.392, allocations: 15.89 kB / 1.374 GB, free: 4.102 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.392, allocations: 0 / 1.374 GB, free: 4.102 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.3921, allocations: 15.98 kB / 1.374 GB, free: 4.086 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.653e-05/0.3922, allocations: 27.84 kB / 1.374 GB, free: 4.059 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/0.3922, allocations: 7.984 kB / 1.374 GB, free: 4.051 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000135/0.3923, allocations: 148.2 kB / 1.374 GB, free: 3.906 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3923, allocations: 0 / 1.374 GB, free: 3.906 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003039/0.3926, allocations: 51.89 kB / 1.374 GB, free: 3.855 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.000408/0.3931, allocations: 172.2 kB / 1.374 GB, free: 3.699 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002354/0.3933, allocations: 95.84 kB / 1.375 GB, free: 3.605 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3933, allocations: 0 / 1.375 GB, free: 3.605 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.805e-05/0.3934, allocations: 51.86 kB / 1.375 GB, free: 3.555 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004037/0.3938, allocations: 53.48 kB / 1.375 GB, free: 3.512 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005876/0.3944, allocations: 329 kB / 1.375 GB, free: 3.16 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.3945, allocations: 112.1 kB / 1.375 GB, free: 3.031 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.707e-05/0.3946, allocations: 19.44 kB / 1.375 GB, free: 3.012 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.3946, allocations: 0 / 1.375 GB, free: 3.012 MB / 1.061 GB Notification: Performance of Templates: time 0.005891/0.4004, allocations: 3.271 MB / 1.378 GB, free: 15.75 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,plotConfiguration.active,sca.active,scaDel.active Variables in the result:plotConfiguration.active,sca.active,scaDel.active,time [Calling sys.exit(0), Time elapsed: 12.007101067807525]