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.001659/0.001659, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002044/0.002044, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.579/1.579, allocations: 230.6 MB / 256 MB, free: 7.973 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.285/3.285, allocations: 0.505 GB / 0.8101 GB, free: 22 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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) [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.002091/0.002091, allocations: 73.17 kB / 1.177 GB, free: 17.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3772/0.3792, allocations: 180.2 MB / 1.353 GB, free: 8.449 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003337/0.3826, allocations: 1.782 MB / 1.355 GB, free: 6.652 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0017/0.3843, allocations: 0.952 MB / 1.356 GB, free: 5.699 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.662e-05/0.3844, allocations: 7.938 kB / 1.356 GB, free: 5.691 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001827/0.3845, allocations: 27.73 kB / 1.356 GB, free: 5.664 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003857/0.3849, allocations: 115.4 kB / 1.356 GB, free: 5.551 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003984/0.3853, allocations: 163.6 kB / 1.356 GB, free: 5.391 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003201/0.3856, allocations: 243.4 kB / 1.356 GB, free: 5.152 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.3858, allocations: 30 kB / 1.356 GB, free: 5.121 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.3859, allocations: 107.7 kB / 1.356 GB, free: 5.016 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01665/0.4026, allocations: 2.037 MB / 1.358 GB, free: 3.52 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.089e-05/0.4027, allocations: 16 kB / 1.358 GB, free: 3.504 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.4028, allocations: 36 kB / 1.358 GB, free: 3.469 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.626e-05/0.4029, allocations: 47.78 kB / 1.358 GB, free: 3.422 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.403, allocations: 95.55 kB / 1.358 GB, free: 3.328 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004109/0.4034, allocations: 211.2 kB / 1.359 GB, free: 3.121 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.4034, allocations: 0 / 1.359 GB, free: 3.121 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4034, allocations: 3.938 kB / 1.359 GB, free: 3.117 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.282e-05/0.4034, allocations: 0 / 1.359 GB, free: 3.117 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.000863/0.4043, allocations: 496.6 kB / 1.359 GB, free: 2.59 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.4043, allocations: 16.02 kB / 1.359 GB, free: 2.574 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.281e-05/0.4044, allocations: 34.75 kB / 1.359 GB, free: 2.531 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.246e-05/0.4044, allocations: 24.8 kB / 1.359 GB, free: 2.508 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003143/0.4048, allocations: 189.6 kB / 1.359 GB, free: 2.297 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.4048, allocations: 8 kB / 1.359 GB, free: 2.289 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.942e-05/0.4048, allocations: 16 kB / 1.359 GB, free: 2.273 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.405, allocations: 93.59 kB / 1.359 GB, free: 2.176 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.405, allocations: 0 / 1.359 GB, free: 2.176 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.405, allocations: 0 / 1.359 GB, free: 2.176 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.405, allocations: 8 kB / 1.359 GB, free: 2.168 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.4052, allocations: 55.95 kB / 1.359 GB, free: 2.113 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008089/0.406, allocations: 439.4 kB / 1.36 GB, free: 1.641 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004265/0.4064, allocations: 126.7 kB / 1.36 GB, free: 1.508 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.724e-05/0.4065, allocations: 36.78 kB / 1.36 GB, free: 1.469 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.4065, allocations: 0 / 1.36 GB, free: 1.469 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002884/0.4068, allocations: 118.5 kB / 1.36 GB, free: 1.344 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.4068, allocations: 0 / 1.36 GB, free: 1.344 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.0003493/0.4071, allocations: 161.5 kB / 1.36 GB, free: 1.18 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.4072, allocations: 55.41 kB / 1.36 GB, free: 1.113 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.4074, allocations: 206.5 kB / 1.361 GB, free: 0.8984 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.097e-05/0.4074, allocations: 33.64 kB / 1.361 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.382e-05/0.4075, allocations: 120.5 kB / 1.361 GB, free: 0.7383 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.02e-05/0.4076, allocations: 39.72 kB / 1.361 GB, free: 0.6992 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.745e-05/0.4076, allocations: 57.67 kB / 1.361 GB, free: 0.6367 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.4078, allocations: 330.8 kB / 1.361 GB, free: 312 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.02e-05/0.4079, allocations: 35.98 kB / 1.361 GB, free: 276 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002436/0.4081, allocations: 126.4 kB / 1.361 GB, free: 124 kB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.4082, allocations: 106.3 kB / 1.361 GB, free: 4 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4083, allocations: 0 / 1.361 GB, free: 4 kB / 1.045 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003/0.4086, allocations: 153.5 kB / 1.362 GB, free: 15.84 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.4086, allocations: 5.875 kB / 1.362 GB, free: 15.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.4086, allocations: 4 kB / 1.362 GB, free: 15.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.4086, allocations: 4.125 kB / 1.362 GB, free: 15.83 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.638e-05/0.4087, allocations: 23.92 kB / 1.362 GB, free: 15.81 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.4087, allocations: 4 kB / 1.362 GB, free: 15.8 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.4089, allocations: 23.88 kB / 1.362 GB, free: 15.78 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.4089, allocations: 11.94 kB / 1.362 GB, free: 15.77 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.0001432/0.409, allocations: 140.1 kB / 1.362 GB, free: 15.62 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.132e-05/0.4091, allocations: 19.84 kB / 1.362 GB, free: 15.61 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.952e-05/0.4091, allocations: 25.81 kB / 1.362 GB, free: 15.58 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.4091, allocations: 4 kB / 1.362 GB, free: 15.57 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4091, allocations: 0 / 1.362 GB, free: 15.57 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.4091, allocations: 3.984 kB / 1.362 GB, free: 15.57 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007016/0.4098, allocations: 461.3 kB / 1.362 GB, free: 15.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4098, allocations: 0 / 1.362 GB, free: 15.07 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.108e-05/0.4099, allocations: 0 / 1.362 GB, free: 15.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.4099, allocations: 4 kB / 1.362 GB, free: 15.07 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.4099, allocations: 11.94 kB / 1.362 GB, free: 15.05 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.4099, allocations: 3.984 kB / 1.362 GB, free: 15.05 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4099, allocations: 0 / 1.362 GB, free: 15.05 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002601/0.4101, allocations: 238.3 kB / 1.362 GB, free: 14.8 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.822e-05/0.4102, allocations: 15.91 kB / 1.362 GB, free: 14.79 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.285e-05/0.4102, allocations: 11.92 kB / 1.362 GB, free: 14.78 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.4103, allocations: 19.81 kB / 1.362 GB, free: 14.76 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.972e-05/0.4104, allocations: 27.94 kB / 1.363 GB, free: 14.73 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.821e-05/0.4104, allocations: 15.98 kB / 1.363 GB, free: 14.72 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001243/0.4106, allocations: 132.5 kB / 1.363 GB, free: 14.59 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.4106, allocations: 0 / 1.363 GB, free: 14.59 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003168/0.4109, allocations: 47.98 kB / 1.363 GB, free: 14.54 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.0008441/0.4117, allocations: 0.8265 MB / 1.364 GB, free: 13.71 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002424/0.412, allocations: 103.8 kB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.412, allocations: 0 / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.54e-05/0.4121, allocations: 47.92 kB / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004594/0.4125, allocations: 60.3 kB / 1.364 GB, free: 13.51 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/0.4148, allocations: 1.885 MB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.4151, allocations: 0.7242 MB / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.983e-05/0.4152, allocations: 29.61 kB / 1.366 GB, free: 10.73 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.4153, allocations: 55.41 kB / 1.366 GB, free: 10.68 MB / 1.061 GB Notification: Performance of SimCode: time 3.9e-07/0.4153, allocations: 0 / 1.366 GB, free: 10.68 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03559/0.4509, allocations: 5.789 MB / 1.372 GB, free: 5.047 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.54, allocations: 5.688 kB / 1.372 GB, free: 5.043 MB / 1.061 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv --start-time 0 --stop-time 10 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv","/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] "Error: Could not read variable plotConfiguration.active in file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv. Warning: Get data of variable plotConfiguration.active from file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv failed! Error: Could not read variable sca.active in file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv. Warning: Get data of variable sca.active from file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv failed! Error: Could not read variable scaDel.active in file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv. Warning: Get data of variable scaDel.active from file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.66881391900006]