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.001345/0.001345, allocations: 103 kB / 16.45 MB, free: 6.449 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.001598/0.001598, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.454/1.454, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.351/3.351, allocations: 0.505 GB / 0.8066 GB, free: 23.11 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.002305/0.002305, allocations: 66.78 kB / 1.172 GB, free: 17.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3707, allocations: 180.2 MB / 1.348 GB, free: 10.01 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003415/0.3741, allocations: 1.761 MB / 1.349 GB, free: 8.234 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001723/0.3758, allocations: 0.9441 MB / 1.35 GB, free: 7.289 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.403e-05/0.3759, allocations: 7.938 kB / 1.35 GB, free: 7.281 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000194/0.3761, allocations: 23.72 kB / 1.35 GB, free: 7.258 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004182/0.3765, allocations: 123.4 kB / 1.351 GB, free: 7.137 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000405/0.3769, allocations: 154.1 kB / 1.351 GB, free: 6.988 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003275/0.3773, allocations: 239.3 kB / 1.351 GB, free: 6.754 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.3774, allocations: 29.89 kB / 1.351 GB, free: 6.723 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.3775, allocations: 111.7 kB / 1.351 GB, free: 6.613 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01437/0.3919, allocations: 1.707 MB / 1.353 GB, free: 5.352 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.563e-05/0.392, allocations: 16 kB / 1.353 GB, free: 5.336 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.3921, allocations: 40 kB / 1.353 GB, free: 5.297 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.747e-05/0.3922, allocations: 31.91 kB / 1.353 GB, free: 5.266 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000155/0.3924, allocations: 103.4 kB / 1.353 GB, free: 5.164 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004378/0.3928, allocations: 215.2 kB / 1.353 GB, free: 4.953 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3928, allocations: 4 kB / 1.353 GB, free: 4.949 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3928, allocations: 0 / 1.353 GB, free: 4.949 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.22e-05/0.3928, allocations: 0 / 1.353 GB, free: 4.949 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.0009897/0.3938, allocations: 0.5603 MB / 1.354 GB, free: 4.328 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.3939, allocations: 11.98 kB / 1.354 GB, free: 4.316 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.989e-05/0.3939, allocations: 42.73 kB / 1.354 GB, free: 4.266 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.084e-05/0.394, allocations: 20.8 kB / 1.354 GB, free: 4.246 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003438/0.3943, allocations: 247.4 kB / 1.354 GB, free: 3.965 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.3944, allocations: 15.98 kB / 1.354 GB, free: 3.949 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.634e-05/0.3944, allocations: 12 kB / 1.354 GB, free: 3.938 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.3946, allocations: 89.59 kB / 1.354 GB, free: 3.844 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.3946, allocations: 0 / 1.354 GB, free: 3.844 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.3946, allocations: 4 kB / 1.354 GB, free: 3.84 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.3946, allocations: 7.984 kB / 1.354 GB, free: 3.832 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.3947, allocations: 57.45 kB / 1.354 GB, free: 3.777 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008921/0.3956, allocations: 468.3 kB / 1.355 GB, free: 3.27 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004848/0.3961, allocations: 130.7 kB / 1.355 GB, free: 3.133 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.679e-05/0.3962, allocations: 28.84 kB / 1.355 GB, free: 3.102 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.3962, allocations: 4 kB / 1.355 GB, free: 3.098 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002988/0.3965, allocations: 118.5 kB / 1.355 GB, free: 2.973 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 1.482e-06/0.3965, allocations: 0 / 1.355 GB, free: 2.973 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.000375/0.3969, allocations: 157.5 kB / 1.355 GB, free: 2.812 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.3969, allocations: 63.39 kB / 1.355 GB, free: 2.738 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/0.3972, allocations: 198.5 kB / 1.355 GB, free: 2.531 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.106e-05/0.3972, allocations: 37.69 kB / 1.355 GB, free: 2.488 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.958e-05/0.3973, allocations: 116.5 kB / 1.355 GB, free: 2.371 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.012e-05/0.3974, allocations: 39.67 kB / 1.355 GB, free: 2.332 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.3975, allocations: 61.61 kB / 1.355 GB, free: 2.266 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.3976, allocations: 330.8 kB / 1.356 GB, free: 1.934 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.177e-05/0.3977, allocations: 31.97 kB / 1.356 GB, free: 1.902 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002663/0.398, allocations: 134.6 kB / 1.356 GB, free: 1.746 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.3981, allocations: 101.7 kB / 1.356 GB, free: 1.633 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.3981, allocations: 4 kB / 1.356 GB, free: 1.629 MB / 1.045 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002714/0.3984, allocations: 149.4 kB / 1.356 GB, free: 1.477 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.3984, allocations: 8 kB / 1.356 GB, free: 1.469 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.3984, allocations: 0 / 1.356 GB, free: 1.469 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.3984, allocations: 4 kB / 1.356 GB, free: 1.465 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.701e-05/0.3985, allocations: 23.92 kB / 1.356 GB, free: 1.441 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.3985, allocations: 3.984 kB / 1.356 GB, free: 1.438 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002385/0.3988, allocations: 32 kB / 1.356 GB, free: 1.406 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.3988, allocations: 8 kB / 1.356 GB, free: 1.398 MB / 1.045 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.0001422/0.3989, allocations: 139.5 kB / 1.356 GB, free: 1.254 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.501e-05/0.399, allocations: 15.91 kB / 1.356 GB, free: 1.238 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.562e-05/0.399, allocations: 25.86 kB / 1.356 GB, free: 1.207 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.399, allocations: 0 / 1.356 GB, free: 1.207 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.399, allocations: 0 / 1.356 GB, free: 1.207 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.758e-06/0.399, allocations: 3.938 kB / 1.356 GB, free: 1.203 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007941/0.3998, allocations: 494.2 kB / 1.357 GB, free: 0.6641 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3998, allocations: 0 / 1.357 GB, free: 0.6641 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.862e-05/0.3998, allocations: 7.984 kB / 1.357 GB, free: 0.6562 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3999, allocations: 0 / 1.357 GB, free: 0.6562 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.3999, allocations: 11.94 kB / 1.357 GB, free: 0.6445 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3999, allocations: 0 / 1.357 GB, free: 0.6445 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3999, allocations: 3.938 kB / 1.357 GB, free: 0.6406 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003002/0.4002, allocations: 238.3 kB / 1.357 GB, free: 404 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.861e-05/0.4002, allocations: 89.02 kB / 1.357 GB, free: 296 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.4003, allocations: 3.938 kB / 1.357 GB, free: 292 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.4004, allocations: 19.97 kB / 1.357 GB, free: 272 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.086e-05/0.4005, allocations: 23.95 kB / 1.357 GB, free: 248 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.81e-05/0.4005, allocations: 15.92 kB / 1.357 GB, free: 232 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001398/0.4007, allocations: 140.2 kB / 1.357 GB, free: 92 kB / 1.045 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4007, allocations: 4 kB / 1.357 GB, free: 88 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003275/0.401, allocations: 47.92 kB / 1.358 GB, free: 40 kB / 1.045 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.000996/0.402, allocations: 0.8314 MB / 1.358 GB, free: 15.2 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002686/0.4023, allocations: 101.8 kB / 1.358 GB, free: 15.11 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4023, allocations: 256 / 1.358 GB, free: 15.11 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.4024, allocations: 51.92 kB / 1.358 GB, free: 15.05 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004433/0.4028, allocations: 48.56 kB / 1.359 GB, free: 15.01 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002545/0.4054, allocations: 1.918 MB / 1.36 GB, free: 12.98 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004118/0.4058, allocations: 0.7203 MB / 1.361 GB, free: 12.23 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.65e-05/0.4059, allocations: 33.52 kB / 1.361 GB, free: 12.2 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.406, allocations: 55.41 kB / 1.361 GB, free: 12.14 MB / 1.061 GB Notification: Performance of SimCode: time 5.51e-07/0.406, allocations: 3.938 kB / 1.361 GB, free: 12.14 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03449/0.4405, allocations: 5.6 MB / 1.367 GB, free: 6.707 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.634/9.075, allocations: 13.2 kB / 1.367 GB, free: 6.699 MB / 1.061 GB " [Timeout remaining time 291] (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: 16.052420978900045]