Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00183/0.00183, allocations: 109.7 kB / 16.46 MB, free: 6.453 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.002378/0.002378, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.561/1.561, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.909/2.909, allocations: 476.7 MB / 0.7672 GB, free: 5.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_11_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.002034/0.002034, allocations: 66.36 kB / 1.112 GB, free: 9.234 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3867/0.3887, allocations: 169.9 MB / 1.278 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.00328/0.392, allocations: 1.756 MB / 1.28 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001641/0.3937, allocations: 0.9435 MB / 1.281 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.598e-05/0.3937, allocations: 4 kB / 1.281 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001815/0.3939, allocations: 27.72 kB / 1.281 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003765/0.3943, allocations: 127.4 kB / 1.281 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003663/0.3947, allocations: 148.1 kB / 1.281 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000331/0.395, allocations: 243.4 kB / 1.281 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.3951, allocations: 33.89 kB / 1.281 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.3953, allocations: 107.7 kB / 1.282 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01364/0.4089, allocations: 1.706 MB / 1.283 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.409, allocations: 20 kB / 1.283 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001534/0.4092, allocations: 32 kB / 1.283 GB, free: 0.6445 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.935e-05/0.4093, allocations: 39.89 kB / 1.283 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001496/0.4094, allocations: 91.5 kB / 1.283 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005213/0.4099, allocations: 223.1 kB / 1.284 GB, free: 304 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.4099, allocations: 0 / 1.284 GB, free: 304 kB / 0.9825 GB Notification: Performance of FrontEnd: time 2.294e-06/0.4099, allocations: 4 kB / 1.284 GB, free: 300 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.852e-05/0.41, allocations: 0 / 1.284 GB, free: 300 kB / 0.9825 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.001287/0.4113, allocations: 0.5603 MB / 1.284 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 7.028e-05/0.4113, allocations: 8.031 kB / 1.284 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.787e-05/0.4114, allocations: 38.75 kB / 1.284 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.4115, allocations: 28.78 kB / 1.284 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004532/0.412, allocations: 243.4 kB / 1.284 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.412, allocations: 12 kB / 1.284 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.626e-05/0.412, allocations: 19.98 kB / 1.284 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002565/0.4123, allocations: 85.64 kB / 1.285 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.4123, allocations: 4 kB / 1.285 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.4123, allocations: 8 kB / 1.285 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.4123, allocations: 0 / 1.285 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.4125, allocations: 59.84 kB / 1.285 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.4136, allocations: 468.4 kB / 1.285 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000523/0.4141, allocations: 130.7 kB / 1.285 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.711e-05/0.4142, allocations: 28.84 kB / 1.285 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.4142, allocations: 4 kB / 1.285 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003983/0.4146, allocations: 105.7 kB / 1.285 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.854e-06/0.4146, allocations: 0 / 1.285 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.0004482/0.415, allocations: 169.6 kB / 1.286 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/0.4151, allocations: 63.39 kB / 1.286 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002633/0.4154, allocations: 196.5 kB / 1.286 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.265e-05/0.4154, allocations: 33.7 kB / 1.286 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.4156, allocations: 128.4 kB / 1.286 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.54e-05/0.4156, allocations: 35.69 kB / 1.286 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.4157, allocations: 61.67 kB / 1.286 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.4159, allocations: 326.8 kB / 1.286 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.834e-05/0.416, allocations: 27.98 kB / 1.286 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002861/0.4162, allocations: 139.5 kB / 1.286 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.4164, allocations: 106.8 kB / 1.287 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4164, allocations: 0 / 1.287 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002792/0.4167, allocations: 145.5 kB / 1.287 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.4167, allocations: 6.344 kB / 1.287 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.4167, allocations: 0 / 1.287 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.4167, allocations: 4 kB / 1.287 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.588e-05/0.4168, allocations: 19.92 kB / 1.287 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.4168, allocations: 0 / 1.287 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002432/0.4171, allocations: 32 kB / 1.287 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.4171, allocations: 8 kB / 1.287 GB, free: 12.75 MB / 0.9981 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.0001645/0.4172, allocations: 145.9 kB / 1.287 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/0.4173, allocations: 19.86 kB / 1.287 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.359e-05/0.4173, allocations: 17.88 kB / 1.287 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.4173, allocations: 0 / 1.287 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.4173, allocations: 0 / 1.287 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.4173, allocations: 7.984 kB / 1.287 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007771/0.4181, allocations: 497 kB / 1.287 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4181, allocations: 0 / 1.287 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.866e-05/0.4182, allocations: 4 kB / 1.287 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.4182, allocations: 7.922 kB / 1.287 GB, free: 12 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.4182, allocations: 7.984 kB / 1.287 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.4182, allocations: 0 / 1.287 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.4182, allocations: 7.922 kB / 1.287 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000315/0.4185, allocations: 239.4 kB / 1.288 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.679e-05/0.4186, allocations: 92.97 kB / 1.288 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.4186, allocations: 3.938 kB / 1.288 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.4187, allocations: 15.98 kB / 1.288 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.471e-05/0.4188, allocations: 19.97 kB / 1.288 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.853e-05/0.4189, allocations: 11.94 kB / 1.288 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001699/0.419, allocations: 144.2 kB / 1.288 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.419, allocations: 0 / 1.288 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003538/0.4194, allocations: 51.92 kB / 1.288 GB, free: 11.38 MB / 0.9981 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.001042/0.4204, allocations: 0.8329 MB / 1.289 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002711/0.4207, allocations: 99.83 kB / 1.289 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4207, allocations: 0 / 1.289 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.4208, allocations: 46.42 kB / 1.289 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004694/0.4213, allocations: 72 kB / 1.289 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002607/0.4239, allocations: 1.918 MB / 1.291 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004852/0.4244, allocations: 0.7203 MB / 1.292 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001022/0.4245, allocations: 25.53 kB / 1.292 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.4246, allocations: 59.41 kB / 1.292 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of SimCode: time 6.91e-07/0.4246, allocations: 0 / 1.292 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03679/0.4614, allocations: 5.627 MB / 1.297 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.382/8.844, allocations: 3.938 kB / 1.297 GB, free: 2.051 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv. Warning: Get data of variable plotConfiguration.active from file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv failed! Error: Could not read variable sca.active in file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv. Warning: Get data of variable sca.active from file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv failed! Error: Could not read variable scaDel.active in file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv. Warning: Get data of variable scaDel.active from file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.721453931182623]