Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.001394/0.001394, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001524/0.001524, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.489/1.489, allocations: 230.6 MB / 256 MB, free: 7.789 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.305/3.305, allocations: 0.4892 GB / 0.7943 GB, free: 35.67 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.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") [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.00209/0.00209, allocations: 70.14 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3751, allocations: 176.1 MB / 1.326 GB, free: 1.812 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.00326/0.3784, allocations: 1.738 MB / 1.327 GB, free: 68 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001723/0.3801, allocations: 0.8969 MB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.933e-05/0.3801, allocations: 7.938 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.3803, allocations: 23.72 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003593/0.3807, allocations: 123.5 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003595/0.381, allocations: 153 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003264/0.3814, allocations: 239.4 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.3815, allocations: 33.72 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.3817, allocations: 119.6 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01583/0.3975, allocations: 1.978 MB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.495e-05/0.3976, allocations: 16 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.3977, allocations: 43.92 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.986e-05/0.3978, allocations: 47.83 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.3979, allocations: 75.64 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004097/0.3983, allocations: 223.1 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3983, allocations: 0 / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.824e-06/0.3983, allocations: 0 / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.286e-05/0.3984, allocations: 0 / 1.331 GB, free: 12.63 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0009025/0.3993, allocations: 0.4889 MB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.3993, allocations: 12.03 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.133e-05/0.3994, allocations: 28.8 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003238/0.3997, allocations: 177.8 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.3997, allocations: 8 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.907e-05/0.3998, allocations: 16 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002307/0.4, allocations: 117.2 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.4, allocations: 0 / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.4, allocations: 7.984 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.4, allocations: 4 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.4001, allocations: 51.88 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008931/0.401, allocations: 472.3 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/0.4012, allocations: 89.08 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.872e-05/0.4013, allocations: 37.77 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.4013, allocations: 0 / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002803/0.4016, allocations: 137.1 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.192e-06/0.4016, allocations: 4 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0003784/0.402, allocations: 161.5 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.441e-05/0.4021, allocations: 81.11 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.4023, allocations: 211.1 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.778e-05/0.4023, allocations: 33.7 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.4024, allocations: 120.5 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.4025, allocations: 35.73 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.4026, allocations: 53.69 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.4028, allocations: 330.8 kB / 1.334 GB, free: 9.781 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.346e-05/0.4028, allocations: 39.92 kB / 1.334 GB, free: 9.742 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003403/0.4032, allocations: 253.6 kB / 1.334 GB, free: 9.438 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.4033, allocations: 105.9 kB / 1.334 GB, free: 9.312 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4033, allocations: 0 / 1.334 GB, free: 9.312 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002768/0.4036, allocations: 160.4 kB / 1.334 GB, free: 9.152 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.4036, allocations: 8.156 kB / 1.334 GB, free: 9.145 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.4036, allocations: 4 kB / 1.334 GB, free: 9.141 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.4037, allocations: 4 kB / 1.334 GB, free: 9.137 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.649e-05/0.4038, allocations: 23.92 kB / 1.334 GB, free: 9.113 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.4038, allocations: 0 / 1.334 GB, free: 9.113 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/0.404, allocations: 27.88 kB / 1.334 GB, free: 9.086 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.404, allocations: 8 kB / 1.334 GB, free: 9.078 MB / 1.029 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.0001604/0.4041, allocations: 144 kB / 1.334 GB, free: 8.926 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.097e-05/0.4042, allocations: 15.91 kB / 1.334 GB, free: 8.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.343e-05/0.4042, allocations: 25.47 kB / 1.334 GB, free: 8.879 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-06/0.4042, allocations: 0 / 1.334 GB, free: 8.879 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.4042, allocations: 0 / 1.334 GB, free: 8.879 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.4042, allocations: 3.984 kB / 1.334 GB, free: 8.875 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006195/0.4049, allocations: 390 kB / 1.335 GB, free: 8.457 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.4049, allocations: 3.938 kB / 1.335 GB, free: 8.453 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.617e-05/0.4049, allocations: 8 kB / 1.335 GB, free: 8.445 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.4049, allocations: 4.031 kB / 1.335 GB, free: 8.441 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.4049, allocations: 4 kB / 1.335 GB, free: 8.438 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.4049, allocations: 0 / 1.335 GB, free: 8.438 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.4049, allocations: 7.984 kB / 1.335 GB, free: 8.43 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002735/0.4052, allocations: 243.3 kB / 1.335 GB, free: 8.176 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.811e-05/0.4052, allocations: 11.91 kB / 1.335 GB, free: 8.164 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.4052, allocations: 7.984 kB / 1.335 GB, free: 8.156 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.4054, allocations: 11.98 kB / 1.335 GB, free: 8.145 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.194e-05/0.4054, allocations: 23.91 kB / 1.335 GB, free: 8.121 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.687e-05/0.4055, allocations: 12 kB / 1.335 GB, free: 8.109 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000143/0.4056, allocations: 140.5 kB / 1.335 GB, free: 7.973 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4056, allocations: 0 / 1.335 GB, free: 7.973 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003112/0.4059, allocations: 47.94 kB / 1.335 GB, free: 7.926 MB / 1.029 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.0004278/0.4063, allocations: 173.7 kB / 1.335 GB, free: 7.773 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002505/0.4066, allocations: 99.83 kB / 1.336 GB, free: 7.676 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4066, allocations: 0 / 1.336 GB, free: 7.676 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.836e-05/0.4067, allocations: 47.98 kB / 1.336 GB, free: 7.629 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004317/0.4071, allocations: 59.25 kB / 1.336 GB, free: 7.578 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005951/0.4077, allocations: 300.3 kB / 1.336 GB, free: 7.258 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.4078, allocations: 112.1 kB / 1.336 GB, free: 7.125 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.484e-05/0.4079, allocations: 21.64 kB / 1.336 GB, free: 7.105 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.545e-05/0.408, allocations: 23.42 kB / 1.336 GB, free: 7.086 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.408, allocations: 4 kB / 1.336 GB, free: 7.082 MB / 1.029 GB Notification: Performance of Templates: time 0.009168/0.4172, allocations: 4.024 MB / 1.34 GB, free: 3.137 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.122793845832348]