Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.001303/0.001303, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001418/0.001418, allocations: 220.6 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.408/1.408, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.169/3.169, allocations: 0.505 GB / 0.8108 GB, free: 22.02 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.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") [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.002093/0.002093, allocations: 67.08 kB / 1.178 GB, free: 16.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3773, allocations: 180.2 MB / 1.354 GB, free: 7.961 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003425/0.3808, allocations: 1.772 MB / 1.356 GB, free: 6.176 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00176/0.3825, allocations: 0.9558 MB / 1.357 GB, free: 5.219 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.128e-05/0.3826, allocations: 0 / 1.357 GB, free: 5.219 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002136/0.3828, allocations: 27.73 kB / 1.357 GB, free: 5.191 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004106/0.3832, allocations: 127.4 kB / 1.357 GB, free: 5.066 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004092/0.3836, allocations: 159.7 kB / 1.357 GB, free: 4.91 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000382/0.384, allocations: 247.3 kB / 1.357 GB, free: 4.668 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.3842, allocations: 29.73 kB / 1.357 GB, free: 4.637 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.3843, allocations: 107.7 kB / 1.357 GB, free: 4.531 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01339/0.3977, allocations: 1.67 MB / 1.359 GB, free: 3.293 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.25e-05/0.3978, allocations: 20 kB / 1.359 GB, free: 3.273 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.3979, allocations: 44 kB / 1.359 GB, free: 3.23 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.383e-05/0.398, allocations: 39.83 kB / 1.359 GB, free: 3.191 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.3982, allocations: 91.56 kB / 1.359 GB, free: 3.102 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004358/0.3986, allocations: 219.1 kB / 1.359 GB, free: 2.887 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3986, allocations: 4 kB / 1.359 GB, free: 2.883 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3986, allocations: 3.938 kB / 1.359 GB, free: 2.879 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.3986, allocations: 0 / 1.359 GB, free: 2.879 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008688/0.3995, allocations: 492.7 kB / 1.36 GB, free: 2.355 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.3995, allocations: 12.03 kB / 1.36 GB, free: 2.344 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.442e-05/0.3996, allocations: 16.84 kB / 1.36 GB, free: 2.328 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003028/0.3999, allocations: 189.7 kB / 1.36 GB, free: 2.117 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.3999, allocations: 15.98 kB / 1.36 GB, free: 2.102 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.442e-05/0.4, allocations: 19.94 kB / 1.36 GB, free: 2.082 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/0.4002, allocations: 105.2 kB / 1.36 GB, free: 1.969 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.4002, allocations: 4 kB / 1.36 GB, free: 1.965 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.4002, allocations: 8 kB / 1.36 GB, free: 1.957 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.4002, allocations: 0 / 1.36 GB, free: 1.957 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.4003, allocations: 63.81 kB / 1.36 GB, free: 1.895 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009315/0.4013, allocations: 0.5113 MB / 1.361 GB, free: 1.336 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.4014, allocations: 89.12 kB / 1.361 GB, free: 1.23 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.944e-05/0.4015, allocations: 37.89 kB / 1.361 GB, free: 1.188 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.4015, allocations: 4 kB / 1.361 GB, free: 1.184 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002081/0.4017, allocations: 123.7 kB / 1.361 GB, free: 1.047 MB / 1.045 GB Notification: Performance of pre-optimization done (n=15): time 4.608e-06/0.4017, allocations: 3.984 kB / 1.361 GB, free: 1.043 MB / 1.045 GB Notification: Performance of matching and sorting (n=15): time 0.0003692/0.4021, allocations: 164 kB / 1.361 GB, free: 0.8789 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.626e-05/0.4022, allocations: 85.05 kB / 1.361 GB, free: 0.7773 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/0.4024, allocations: 210.5 kB / 1.361 GB, free: 0.5586 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.258e-05/0.4024, allocations: 33.7 kB / 1.362 GB, free: 0.5195 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.4025, allocations: 124.6 kB / 1.362 GB, free: 404 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.686e-05/0.4026, allocations: 31.73 kB / 1.362 GB, free: 372 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.4027, allocations: 61.67 kB / 1.362 GB, free: 304 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.4029, allocations: 326.8 kB / 1.362 GB, free: 15.97 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.928e-05/0.4029, allocations: 35.92 kB / 1.362 GB, free: 15.93 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/0.4032, allocations: 142.1 kB / 1.362 GB, free: 15.76 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.4033, allocations: 105.9 kB / 1.362 GB, free: 15.64 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4033, allocations: 4 kB / 1.362 GB, free: 15.63 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002703/0.4036, allocations: 167.1 kB / 1.362 GB, free: 15.46 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.4036, allocations: 8 kB / 1.362 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.4036, allocations: 0 / 1.362 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.4037, allocations: 4 kB / 1.362 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.534e-05/0.4038, allocations: 19.94 kB / 1.363 GB, free: 15.43 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.4038, allocations: 7.984 kB / 1.363 GB, free: 15.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002153/0.404, allocations: 32.02 kB / 1.363 GB, free: 15.39 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.404, allocations: 8 kB / 1.363 GB, free: 15.39 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,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,$whenCondition1,$whenCondition3,$whenCondition4,plotConfiguration.activate_internal) * 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.0001461/0.4041, allocations: 140.1 kB / 1.363 GB, free: 15.24 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.281e-05/0.4042, allocations: 15.91 kB / 1.363 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.218e-05/0.4042, allocations: 25.45 kB / 1.363 GB, free: 15.2 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.4042, allocations: 0 / 1.363 GB, free: 15.2 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4042, allocations: 0 / 1.363 GB, free: 15.2 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.4042, allocations: 4 kB / 1.363 GB, free: 15.19 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006471/0.4049, allocations: 433.3 kB / 1.363 GB, free: 14.72 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.4049, allocations: 4 kB / 1.363 GB, free: 14.71 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.327e-05/0.4049, allocations: 7.938 kB / 1.363 GB, free: 14.71 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.4049, allocations: 4 kB / 1.363 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.946e-06/0.4049, allocations: 3.938 kB / 1.363 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.4049, allocations: 3.938 kB / 1.363 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.4049, allocations: 0 / 1.363 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/0.4052, allocations: 240.1 kB / 1.363 GB, free: 14.44 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.934e-05/0.4052, allocations: 15.91 kB / 1.363 GB, free: 14.43 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.4052, allocations: 7.984 kB / 1.363 GB, free: 14.42 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.4054, allocations: 15.92 kB / 1.363 GB, free: 14.4 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/0.4054, allocations: 19.97 kB / 1.363 GB, free: 14.38 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.322e-05/0.4055, allocations: 8 kB / 1.363 GB, free: 14.38 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001309/0.4056, allocations: 140.5 kB / 1.364 GB, free: 14.24 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4056, allocations: 4 kB / 1.364 GB, free: 14.23 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000327/0.4059, allocations: 51.92 kB / 1.364 GB, free: 14.18 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.0004075/0.4063, allocations: 154.1 kB / 1.364 GB, free: 14.05 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000265/0.4066, allocations: 106.8 kB / 1.364 GB, free: 13.95 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.4066, allocations: 0 / 1.364 GB, free: 13.95 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.4067, allocations: 47.92 kB / 1.364 GB, free: 13.9 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004424/0.4071, allocations: 59.67 kB / 1.364 GB, free: 13.84 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006908/0.4078, allocations: 349.5 kB / 1.364 GB, free: 13.47 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004067/0.4082, allocations: 0.7281 MB / 1.365 GB, free: 12.71 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.159e-05/0.4083, allocations: 19.44 kB / 1.365 GB, free: 12.7 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.4083, allocations: 0 / 1.365 GB, free: 12.7 MB / 1.061 GB Notification: Performance of Templates: time 0.006296/0.4146, allocations: 3.225 MB / 1.368 GB, free: 9.48 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.01534374098992]