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.001335/0.001335, allocations: 103.6 kB / 18.95 MB, free: 2.691 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.001907/0.001907, allocations: 215.7 kB / 22.25 MB, free: 4.73 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.493/1.493, allocations: 230.6 MB / 256 MB, free: 7.812 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.325/3.325, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 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.PlotterActivationGlobalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",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.002197/0.002197, allocations: 69.09 kB / 1.186 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3772/0.3794, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003928/0.3834, allocations: 1.723 MB / 1.365 GB, free: 12.35 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001855/0.3852, allocations: 0.9057 MB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.968e-05/0.3853, allocations: 4 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001971/0.3855, allocations: 27.72 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004018/0.3859, allocations: 123.4 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004064/0.3863, allocations: 162 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003446/0.3867, allocations: 243.4 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.3868, allocations: 29.95 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001595/0.387, allocations: 119.7 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01386/0.4008, allocations: 1.693 MB / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.484e-05/0.4009, allocations: 20 kB / 1.368 GB, free: 9.48 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001501/0.4011, allocations: 36 kB / 1.368 GB, free: 9.445 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.839e-05/0.4011, allocations: 43.83 kB / 1.368 GB, free: 9.402 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001685/0.4013, allocations: 75.62 kB / 1.368 GB, free: 9.328 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004839/0.4018, allocations: 227.1 kB / 1.369 GB, free: 9.105 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.4018, allocations: 0 / 1.369 GB, free: 9.105 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.394e-06/0.4018, allocations: 0 / 1.369 GB, free: 9.105 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.5e-05/0.4018, allocations: 0 / 1.369 GB, free: 9.105 MB / 1.061 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.001023/0.4028, allocations: 488.7 kB / 1.369 GB, free: 8.586 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.4029, allocations: 15.97 kB / 1.369 GB, free: 8.57 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.272e-05/0.4029, allocations: 38.75 kB / 1.369 GB, free: 8.523 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.968e-05/0.403, allocations: 20.83 kB / 1.369 GB, free: 8.504 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003375/0.4034, allocations: 193.5 kB / 1.369 GB, free: 8.289 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.4034, allocations: 12 kB / 1.369 GB, free: 8.277 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.916e-05/0.4034, allocations: 12 kB / 1.369 GB, free: 8.266 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.4037, allocations: 91.16 kB / 1.369 GB, free: 8.172 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.4037, allocations: 0 / 1.369 GB, free: 8.172 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.4037, allocations: 7.984 kB / 1.369 GB, free: 8.164 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.4037, allocations: 4 kB / 1.369 GB, free: 8.16 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.4038, allocations: 55.91 kB / 1.37 GB, free: 8.105 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008844/0.4047, allocations: 395.6 kB / 1.37 GB, free: 7.676 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004793/0.4052, allocations: 126.7 kB / 1.37 GB, free: 7.543 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.926e-05/0.4052, allocations: 32.84 kB / 1.37 GB, free: 7.508 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.4053, allocations: 0 / 1.37 GB, free: 7.508 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003205/0.4056, allocations: 118.4 kB / 1.37 GB, free: 7.383 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 3.787e-06/0.4056, allocations: 7.984 kB / 1.37 GB, free: 7.375 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.0003823/0.406, allocations: 161.4 kB / 1.37 GB, free: 7.211 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.589e-05/0.406, allocations: 59.41 kB / 1.37 GB, free: 7.141 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002282/0.4063, allocations: 198.5 kB / 1.371 GB, free: 6.934 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.265e-05/0.4063, allocations: 33.7 kB / 1.371 GB, free: 6.895 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.4064, allocations: 120.5 kB / 1.371 GB, free: 6.773 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.254e-05/0.4065, allocations: 43.69 kB / 1.371 GB, free: 6.73 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.4066, allocations: 57.67 kB / 1.371 GB, free: 6.668 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.4067, allocations: 326.8 kB / 1.371 GB, free: 6.34 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.557e-05/0.4068, allocations: 35.98 kB / 1.371 GB, free: 6.305 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003459/0.4071, allocations: 246.3 kB / 1.371 GB, free: 6.012 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.4073, allocations: 102.6 kB / 1.372 GB, free: 5.898 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.676e-06/0.4073, allocations: 0 / 1.372 GB, free: 5.898 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002585/0.4076, allocations: 145.5 kB / 1.372 GB, free: 5.75 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.4076, allocations: 8 kB / 1.372 GB, free: 5.742 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.4076, allocations: 128 / 1.372 GB, free: 5.742 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.4076, allocations: 4 kB / 1.372 GB, free: 5.738 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.536e-05/0.4077, allocations: 19.94 kB / 1.372 GB, free: 5.719 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.4077, allocations: 7.984 kB / 1.372 GB, free: 5.711 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002151/0.4079, allocations: 27.88 kB / 1.372 GB, free: 5.684 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.4079, allocations: 4 kB / 1.372 GB, free: 5.68 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.0001567/0.4081, allocations: 139.5 kB / 1.372 GB, free: 5.535 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.687e-05/0.4081, allocations: 19.91 kB / 1.372 GB, free: 5.516 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.835e-05/0.4082, allocations: 25.8 kB / 1.372 GB, free: 5.484 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.4082, allocations: 0 / 1.372 GB, free: 5.484 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.4082, allocations: 4 kB / 1.372 GB, free: 5.48 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4082, allocations: 3.938 kB / 1.372 GB, free: 5.477 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007345/0.4089, allocations: 453.3 kB / 1.372 GB, free: 4.984 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.4089, allocations: 3.984 kB / 1.372 GB, free: 4.98 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.514e-05/0.409, allocations: 4 kB / 1.372 GB, free: 4.977 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.409, allocations: 3.938 kB / 1.372 GB, free: 4.973 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.409, allocations: 7.938 kB / 1.372 GB, free: 4.965 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.409, allocations: 0 / 1.372 GB, free: 4.965 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.409, allocations: 4 kB / 1.372 GB, free: 4.961 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002947/0.4093, allocations: 234.6 kB / 1.373 GB, free: 4.719 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.296e-05/0.4093, allocations: 11.91 kB / 1.373 GB, free: 4.707 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.036e-05/0.4093, allocations: 7.938 kB / 1.373 GB, free: 4.699 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.4095, allocations: 15.97 kB / 1.373 GB, free: 4.684 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.465e-05/0.4096, allocations: 23.91 kB / 1.373 GB, free: 4.66 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.928e-05/0.4096, allocations: 8 kB / 1.373 GB, free: 4.652 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001668/0.4098, allocations: 144.2 kB / 1.373 GB, free: 4.512 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4098, allocations: 0 / 1.373 GB, free: 4.512 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003468/0.4101, allocations: 47.94 kB / 1.373 GB, free: 4.465 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.001075/0.4112, allocations: 0.8404 MB / 1.374 GB, free: 3.621 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003085/0.4115, allocations: 99.73 kB / 1.374 GB, free: 3.523 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4115, allocations: 0 / 1.374 GB, free: 3.523 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.4116, allocations: 47.92 kB / 1.374 GB, free: 3.477 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004451/0.412, allocations: 64.89 kB / 1.374 GB, free: 3.418 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002428/0.4145, allocations: 1.916 MB / 1.376 GB, free: 1.398 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001317/0.4146, allocations: 108.1 kB / 1.376 GB, free: 1.273 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001047/0.4147, allocations: 25.56 kB / 1.376 GB, free: 1.25 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.4148, allocations: 55.41 kB / 1.376 GB, free: 1.195 MB / 1.061 GB Notification: Performance of SimCode: time 4.21e-07/0.4148, allocations: 4 kB / 1.376 GB, free: 1.191 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03808/0.4529, allocations: 6.474 MB / 1.382 GB, free: 10.91 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.23, allocations: 11.97 kB / 1.382 GB, free: 10.9 MB / 1.076 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_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_PlotterActivationGlobalInput.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.PlotterActivationGlobalInput_res.csv. Warning: Get data of variable plotConfiguration.active from file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv failed! Error: Could not read variable sca.active in file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv. Warning: Get data of variable sca.active from file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv failed! Error: Could not read variable scaDel.active in file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv. Warning: Get data of variable scaDel.active from file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.28362158406526]