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.002097/0.002097, allocations: 79.83 kB / 19.18 MB, free: 2.516 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.00254/0.00254, allocations: 162.1 kB / 22.46 MB, free: 5.375 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.463/1.463, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.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 2.884/2.884, allocations: 389 MB / 0.633 GB, free: 1.004 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.145e-06/2.145e-06, allocations: 0 / 1 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.038e-05/3.252e-05, allocations: 2.281 kB / 1 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003513/0.003545, allocations: 1.726 MB / 1.002 GB, free: 5.574 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00197/0.005516, allocations: 0.8966 MB / 1.003 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.005638, allocations: 7.938 kB / 1.003 GB, free: 4.668 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002116/0.005849, allocations: 27.72 kB / 1.003 GB, free: 4.641 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0004697/0.006319, allocations: 127.3 kB / 1.003 GB, free: 4.516 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000454/0.006773, allocations: 159.6 kB / 1.003 GB, free: 4.359 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003948/0.007168, allocations: 251.3 kB / 1.003 GB, free: 4.113 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.007302, allocations: 21.78 kB / 1.003 GB, free: 4.09 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002701/0.007572, allocations: 143.8 kB / 1.003 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01455/0.02212, allocations: 1.688 MB / 1.005 GB, free: 2.711 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.02224, allocations: 20 kB / 1.005 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001704/0.02241, allocations: 39.92 kB / 1.005 GB, free: 2.652 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.02251, allocations: 43.83 kB / 1.005 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001684/0.02268, allocations: 67.8 kB / 1.005 GB, free: 2.543 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006091/0.02329, allocations: 239.3 kB / 1.005 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.02329, allocations: 0 / 1.005 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.473e-06/0.0233, allocations: 0 / 1.005 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.827e-06/0.0233, allocations: 3.938 kB / 1.005 GB, free: 2.305 MB / 0.9512 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.001183/0.02449, allocations: 484.7 kB / 1.006 GB, free: 1.789 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.838e-05/0.02455, allocations: 19.97 kB / 1.006 GB, free: 1.77 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.02466, allocations: 20.83 kB / 1.006 GB, free: 1.75 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005027/0.02517, allocations: 185.9 kB / 1.006 GB, free: 1.543 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.832e-05/0.02519, allocations: 16.31 kB / 1.006 GB, free: 1.527 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.596e-05/0.02525, allocations: 15.94 kB / 1.006 GB, free: 1.512 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002459/0.0255, allocations: 93.61 kB / 1.006 GB, free: 1.414 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.02551, allocations: 0 / 1.006 GB, free: 1.414 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/0.02553, allocations: 3.984 kB / 1.006 GB, free: 1.41 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.02554, allocations: 4 kB / 1.006 GB, free: 1.406 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.02568, allocations: 51.97 kB / 1.006 GB, free: 1.355 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000909/0.02659, allocations: 368.1 kB / 1.007 GB, free: 0.9648 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004983/0.02709, allocations: 134.6 kB / 1.007 GB, free: 0.8242 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.736e-05/0.02716, allocations: 36.83 kB / 1.007 GB, free: 0.7852 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.02719, allocations: 4 kB / 1.007 GB, free: 0.7812 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003496/0.02754, allocations: 107.4 kB / 1.007 GB, free: 0.6641 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.02754, allocations: 0 / 1.007 GB, free: 0.6641 MB / 0.9512 GB Notification: Performance of matching and sorting (n=16): time 0.0004636/0.02801, allocations: 167.9 kB / 1.007 GB, free: 0.4961 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.769e-05/0.02808, allocations: 67.27 kB / 1.007 GB, free: 428 kB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002842/0.02837, allocations: 200.3 kB / 1.007 GB, free: 216 kB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.197e-05/0.02842, allocations: 29.7 kB / 1.007 GB, free: 180 kB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.02855, allocations: 124.6 kB / 1.007 GB, free: 52 kB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.624e-05/0.02861, allocations: 31.7 kB / 1.007 GB, free: 20 kB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.02874, allocations: 61.67 kB / 1.008 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002032/0.02894, allocations: 334.8 kB / 1.008 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.102e-05/0.02902, allocations: 31.98 kB / 1.008 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003995/0.02942, allocations: 233.1 kB / 1.008 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.0296, allocations: 102 kB / 1.008 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.0296, allocations: 0 / 1.008 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003929/0.02999, allocations: 153.4 kB / 1.008 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.03001, allocations: 12.12 kB / 1.008 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.03002, allocations: 0 / 1.008 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.03004, allocations: 0 / 1.008 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.061e-05/0.03012, allocations: 19.92 kB / 1.008 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.03013, allocations: 4 kB / 1.008 GB, free: 15 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002297/0.03036, allocations: 27.88 kB / 1.008 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.03038, allocations: 7.984 kB / 1.008 GB, free: 14.97 MB / 0.9669 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.0001713/0.03055, allocations: 144.3 kB / 1.009 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.891e-05/0.03059, allocations: 23.8 kB / 1.009 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.431e-05/0.03064, allocations: 25.8 kB / 1.009 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.03065, allocations: 7.875 kB / 1.009 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.03065, allocations: 0 / 1.009 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.03066, allocations: 0 / 1.009 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008446/0.0315, allocations: 417.9 kB / 1.009 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.0315, allocations: 0 / 1.009 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.047e-05/0.03153, allocations: 11.98 kB / 1.009 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.03154, allocations: 0 / 1.009 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.03155, allocations: 0 / 1.009 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.03155, allocations: 8 kB / 1.009 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.03155, allocations: 0 / 1.009 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003131/0.03187, allocations: 238 kB / 1.009 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.998e-05/0.03191, allocations: 15.86 kB / 1.009 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/0.03194, allocations: 8 kB / 1.009 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.03207, allocations: 7.984 kB / 1.009 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.5e-05/0.03217, allocations: 23.95 kB / 1.009 GB, free: 14 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.434e-05/0.0322, allocations: 12 kB / 1.009 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001726/0.03237, allocations: 137.1 kB / 1.009 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.03237, allocations: 0 / 1.009 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003318/0.0327, allocations: 51.94 kB / 1.01 GB, free: 13.8 MB / 0.9669 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.000473/0.03318, allocations: 174.2 kB / 1.01 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002748/0.03345, allocations: 103.8 kB / 1.01 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.03345, allocations: 0 / 1.01 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.454e-05/0.03355, allocations: 39.98 kB / 1.01 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000447/0.034, allocations: 55.94 kB / 1.01 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008058/0.0348, allocations: 314.7 kB / 1.01 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001426/0.03494, allocations: 108.2 kB / 1.01 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.199e-05/0.03503, allocations: 25.56 kB / 1.01 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.689e-05/0.03509, allocations: 32.42 kB / 1.01 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of SimCode: time 4.9e-07/0.03509, allocations: 4 kB / 1.01 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of Templates: time 0.009516/0.04461, allocations: 3.981 MB / 1.014 GB, free: 9.004 MB / 0.9669 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/jenkins/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: 8.075823914259672]