Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001315/0.001315, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001437/0.001437, allocations: 216.5 kB / 22.25 MB, free: 5.113 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.466/1.466, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.277/3.277, allocations: 0.49 GB / 0.7951 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_12_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.002941/0.002941, allocations: 67.09 kB / 1.154 GB, free: 25.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.377, allocations: 176.1 MB / 1.326 GB, free: 1.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003646/0.3806, allocations: 1.778 MB / 1.328 GB, free: 172 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001898/0.3825, allocations: 0.9553 MB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.379e-05/0.3826, allocations: 7.938 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001893/0.3828, allocations: 27.73 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003852/0.3832, allocations: 123.4 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004014/0.3836, allocations: 154.7 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003628/0.384, allocations: 243.3 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.3841, allocations: 34 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.3842, allocations: 111.7 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01377/0.398, allocations: 1.711 MB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.82e-05/0.3981, allocations: 16 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.3982, allocations: 47.91 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.597e-05/0.3983, allocations: 39.84 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.3985, allocations: 91.56 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003818/0.3988, allocations: 215.2 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3988, allocations: 3.938 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3988, allocations: 0 / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.136e-05/0.3989, allocations: 0 / 1.331 GB, free: 12.85 MB / 1.029 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.0008757/0.3997, allocations: 496.7 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.3998, allocations: 8.031 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.712e-05/0.3998, allocations: 42.73 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.571e-05/0.3999, allocations: 20.8 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000294/0.4002, allocations: 189.5 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.4002, allocations: 12 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.789e-05/0.4002, allocations: 15.98 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.4004, allocations: 95.38 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.4004, allocations: 0 / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.4004, allocations: 0 / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.4005, allocations: 7.938 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.4006, allocations: 51.97 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007982/0.4014, allocations: 435.4 kB / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004338/0.4018, allocations: 130.7 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.275e-05/0.4019, allocations: 32.86 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.4019, allocations: 4 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003034/0.4022, allocations: 115.3 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.322e-06/0.4022, allocations: 0 / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0003566/0.4025, allocations: 176.7 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/0.4026, allocations: 55.41 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.4028, allocations: 199.1 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.77e-05/0.4029, allocations: 33.7 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.622e-05/0.403, allocations: 120.5 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.188e-05/0.403, allocations: 43.72 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.857e-05/0.4031, allocations: 53.67 kB / 1.334 GB, free: 10.37 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.4032, allocations: 326.8 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.941e-05/0.4033, allocations: 35.98 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002449/0.4036, allocations: 127.6 kB / 1.334 GB, free: 9.855 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.4037, allocations: 100.1 kB / 1.334 GB, free: 9.742 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.4037, allocations: 0 / 1.334 GB, free: 9.742 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002608/0.404, allocations: 159.9 kB / 1.334 GB, free: 9.582 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.404, allocations: 8 kB / 1.334 GB, free: 9.574 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.404, allocations: 0 / 1.334 GB, free: 9.574 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.404, allocations: 4 kB / 1.334 GB, free: 9.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.28e-05/0.4041, allocations: 15.94 kB / 1.334 GB, free: 9.555 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.4041, allocations: 7.984 kB / 1.334 GB, free: 9.547 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.4043, allocations: 23.92 kB / 1.334 GB, free: 9.523 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.4043, allocations: 4 kB / 1.334 GB, free: 9.52 MB / 1.029 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.0001484/0.4044, allocations: 148.1 kB / 1.334 GB, free: 9.363 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.503e-05/0.4045, allocations: 23.86 kB / 1.334 GB, free: 9.34 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.833e-05/0.4045, allocations: 21.8 kB / 1.334 GB, free: 9.312 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.4045, allocations: 0 / 1.334 GB, free: 9.312 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.4045, allocations: 0 / 1.334 GB, free: 9.312 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.4045, allocations: 0 / 1.334 GB, free: 9.312 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006869/0.4052, allocations: 469.2 kB / 1.335 GB, free: 8.805 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.4052, allocations: 0 / 1.335 GB, free: 8.805 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.568e-05/0.4052, allocations: 8 kB / 1.335 GB, free: 8.797 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.4053, allocations: 0 / 1.335 GB, free: 8.797 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.4053, allocations: 3.938 kB / 1.335 GB, free: 8.793 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.4053, allocations: 7.938 kB / 1.335 GB, free: 8.785 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4053, allocations: 0 / 1.335 GB, free: 8.785 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002561/0.4055, allocations: 239.2 kB / 1.335 GB, free: 8.535 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.498e-05/0.4055, allocations: 11.91 kB / 1.335 GB, free: 8.523 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.4056, allocations: 11.94 kB / 1.335 GB, free: 8.512 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.4057, allocations: 15.97 kB / 1.335 GB, free: 8.496 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.244e-05/0.4058, allocations: 23.91 kB / 1.335 GB, free: 8.473 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/0.4058, allocations: 8 kB / 1.335 GB, free: 8.465 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001443/0.4059, allocations: 140.5 kB / 1.335 GB, free: 8.328 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4059, allocations: 0 / 1.335 GB, free: 8.328 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003145/0.4063, allocations: 47.98 kB / 1.335 GB, free: 8.281 MB / 1.029 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.0008383/0.4071, allocations: 0.8337 MB / 1.336 GB, free: 7.445 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002434/0.4073, allocations: 99.83 kB / 1.336 GB, free: 7.348 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4073, allocations: 0 / 1.336 GB, free: 7.348 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.174e-05/0.4074, allocations: 47.92 kB / 1.336 GB, free: 7.301 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004159/0.4078, allocations: 71.34 kB / 1.336 GB, free: 7.242 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002381/0.4102, allocations: 1.913 MB / 1.338 GB, free: 5.223 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/0.4106, allocations: 0.7203 MB / 1.339 GB, free: 4.473 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.731e-05/0.4107, allocations: 25.61 kB / 1.339 GB, free: 4.449 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.4108, allocations: 55.41 kB / 1.339 GB, free: 4.395 MB / 1.029 GB Notification: Performance of SimCode: time 3.41e-07/0.4108, allocations: 0 / 1.339 GB, free: 4.395 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04274/0.4536, allocations: 5.809 MB / 1.345 GB, free: 14.75 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.72, allocations: 7.531 kB / 1.345 GB, free: 14.75 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv. Warning: Get data of variable plotConfiguration.active from file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv failed! Error: Could not read variable sca.active in file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv. Warning: Get data of variable sca.active from file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv failed! Error: Could not read variable scaDel.active in file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv. Warning: Get data of variable scaDel.active from file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.607801701000426]