Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001546/0.001546, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001862/0.001862, allocations: 221 kB / 23.01 MB, free: 4.609 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 8.059 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.166/3.166, allocations: 0.505 GB / 0.8108 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 177] 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.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_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_latest_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.001994/0.001994, allocations: 64.89 kB / 1.178 GB, free: 16.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.365, allocations: 180.2 MB / 1.354 GB, free: 7.957 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003257/0.3682, allocations: 1.784 MB / 1.356 GB, free: 6.16 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001688/0.3699, allocations: 0.9442 MB / 1.357 GB, free: 5.215 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.269e-05/0.37, allocations: 3.938 kB / 1.357 GB, free: 5.211 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001858/0.3702, allocations: 35.7 kB / 1.357 GB, free: 5.176 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003562/0.3705, allocations: 115.5 kB / 1.357 GB, free: 5.062 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003738/0.3709, allocations: 158.2 kB / 1.357 GB, free: 4.91 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003299/0.3712, allocations: 243.3 kB / 1.357 GB, free: 4.672 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.3714, allocations: 33.73 kB / 1.357 GB, free: 4.637 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.3715, allocations: 119.7 kB / 1.357 GB, free: 4.52 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01617/0.3877, allocations: 1.988 MB / 1.359 GB, free: 3.059 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.9e-05/0.3878, allocations: 16 kB / 1.359 GB, free: 3.043 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.3879, allocations: 47.98 kB / 1.359 GB, free: 2.996 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.486e-05/0.388, allocations: 47.77 kB / 1.359 GB, free: 2.949 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.3881, allocations: 83.58 kB / 1.36 GB, free: 2.867 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004459/0.3886, allocations: 215.2 kB / 1.36 GB, free: 2.656 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3886, allocations: 0 / 1.36 GB, free: 2.656 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3886, allocations: 3.938 kB / 1.36 GB, free: 2.652 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.607e-06/0.3886, allocations: 0 / 1.36 GB, free: 2.652 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.0009085/0.3895, allocations: 0.4928 MB / 1.36 GB, free: 2.117 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.3895, allocations: 8.031 kB / 1.36 GB, free: 2.109 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.519e-05/0.3896, allocations: 24.83 kB / 1.36 GB, free: 2.086 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000318/0.3899, allocations: 197.7 kB / 1.36 GB, free: 1.867 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.39, allocations: 12 kB / 1.36 GB, free: 1.855 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.259e-05/0.39, allocations: 8 kB / 1.36 GB, free: 1.848 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002342/0.3902, allocations: 113.6 kB / 1.361 GB, free: 1.727 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.3902, allocations: 0 / 1.361 GB, free: 1.727 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/0.3903, allocations: 12 kB / 1.361 GB, free: 1.715 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.3903, allocations: 0 / 1.361 GB, free: 1.715 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.3904, allocations: 59.81 kB / 1.361 GB, free: 1.656 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009561/0.3914, allocations: 0.5075 MB / 1.361 GB, free: 1.102 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.3916, allocations: 93.06 kB / 1.361 GB, free: 0.9922 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.133e-05/0.3916, allocations: 41.7 kB / 1.361 GB, free: 0.9453 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.3917, allocations: 0 / 1.361 GB, free: 0.9453 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003182/0.392, allocations: 132.4 kB / 1.361 GB, free: 0.8008 MB / 1.045 GB Notification: Performance of pre-optimization done (n=15): time 1.223e-06/0.392, allocations: 0 / 1.361 GB, free: 0.8008 MB / 1.045 GB Notification: Performance of matching and sorting (n=15): time 0.0003818/0.3924, allocations: 167.6 kB / 1.362 GB, free: 0.6328 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.49e-05/0.3924, allocations: 81.11 kB / 1.362 GB, free: 0.5352 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002246/0.3926, allocations: 206.5 kB / 1.362 GB, free: 328 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.233e-05/0.3927, allocations: 33.64 kB / 1.362 GB, free: 288 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.3928, allocations: 128.6 kB / 1.362 GB, free: 156 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.523e-05/0.3928, allocations: 31.73 kB / 1.362 GB, free: 124 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.3929, allocations: 61.67 kB / 1.362 GB, free: 56 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.3931, allocations: 330.8 kB / 1.362 GB, free: 15.72 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.126e-05/0.3932, allocations: 31.98 kB / 1.362 GB, free: 15.69 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000266/0.3934, allocations: 145.3 kB / 1.363 GB, free: 15.52 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.3936, allocations: 106 kB / 1.363 GB, free: 15.39 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3936, allocations: 4 kB / 1.363 GB, free: 15.39 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002878/0.3939, allocations: 161.4 kB / 1.363 GB, free: 15.22 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.3939, allocations: 8 kB / 1.363 GB, free: 15.21 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.3939, allocations: 0 / 1.363 GB, free: 15.21 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.3939, allocations: 7.938 kB / 1.363 GB, free: 15.21 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.496e-05/0.394, allocations: 15.98 kB / 1.363 GB, free: 15.19 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.958e-06/0.3941, allocations: 3.984 kB / 1.363 GB, free: 15.19 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.3943, allocations: 36.03 kB / 1.363 GB, free: 15.15 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.3943, allocations: 4 kB / 1.363 GB, free: 15.15 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.0001572/0.3944, allocations: 144.1 kB / 1.363 GB, free: 15 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.463e-05/0.3945, allocations: 15.91 kB / 1.363 GB, free: 14.98 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.906e-05/0.3945, allocations: 17.56 kB / 1.363 GB, free: 14.96 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.3945, allocations: 7.984 kB / 1.363 GB, free: 14.95 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.3945, allocations: 0 / 1.363 GB, free: 14.95 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/0.3945, allocations: 3.984 kB / 1.363 GB, free: 14.95 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006477/0.3952, allocations: 435.7 kB / 1.363 GB, free: 14.48 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3952, allocations: 0 / 1.363 GB, free: 14.48 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.708e-05/0.3952, allocations: 7.938 kB / 1.363 GB, free: 14.47 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.3952, allocations: 3.984 kB / 1.364 GB, free: 14.46 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.57e-05/0.3952, allocations: 8 kB / 1.364 GB, free: 14.46 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.3953, allocations: 3.938 kB / 1.364 GB, free: 14.45 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3953, allocations: 3.938 kB / 1.364 GB, free: 14.45 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002858/0.3955, allocations: 236.2 kB / 1.364 GB, free: 14.2 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.866e-05/0.3956, allocations: 11.91 kB / 1.364 GB, free: 14.19 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.3956, allocations: 4 kB / 1.364 GB, free: 14.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.3957, allocations: 23.86 kB / 1.364 GB, free: 14.16 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.178e-05/0.3958, allocations: 15.97 kB / 1.364 GB, free: 14.14 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-05/0.3958, allocations: 11.98 kB / 1.364 GB, free: 14.13 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001383/0.396, allocations: 148.4 kB / 1.364 GB, free: 13.99 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.396, allocations: 4 kB / 1.364 GB, free: 13.98 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003303/0.3963, allocations: 39.94 kB / 1.364 GB, free: 13.95 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.0004202/0.3967, allocations: 164 kB / 1.364 GB, free: 13.79 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002637/0.397, allocations: 106.7 kB / 1.364 GB, free: 13.7 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.397, allocations: 0 / 1.364 GB, free: 13.7 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.3971, allocations: 47.92 kB / 1.364 GB, free: 13.65 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004364/0.3975, allocations: 59.55 kB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006601/0.3982, allocations: 333.6 kB / 1.365 GB, free: 13.23 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.3986, allocations: 0.7203 MB / 1.365 GB, free: 12.49 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.553e-05/0.3986, allocations: 27.44 kB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of SimCode: time 2.8e-07/0.3986, allocations: 0 / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of Templates: time 0.006433/0.4051, allocations: 3.214 MB / 1.369 GB, free: 9.254 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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: 11.948775349999778]