Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.001823/0.001823, 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.002404/0.002404, allocations: 220.3 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.492/1.492, 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 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.883/2.883, allocations: 476.7 MB / 0.7707 GB, free: 4.246 MB / 0.6231 GB " [Timeout remaining time 176] 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.PlotterActivationLocalInput,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",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.00204/0.00204, allocations: 65.33 kB / 1.117 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.3851, allocations: 170 MB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003654/0.3887, allocations: 1.763 MB / 1.285 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00179/0.3905, allocations: 0.9552 MB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.3906, allocations: 3.938 kB / 1.286 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002325/0.3909, allocations: 31.73 kB / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004152/0.3913, allocations: 119.4 kB / 1.286 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004236/0.3917, allocations: 162.2 kB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000354/0.3921, allocations: 247.4 kB / 1.287 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.3922, allocations: 33.3 kB / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.3924, allocations: 119.6 kB / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01342/0.4058, allocations: 1.658 MB / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001236/0.4059, allocations: 16 kB / 1.288 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001823/0.4061, allocations: 47.97 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.4062, allocations: 35.84 kB / 1.288 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000162/0.4064, allocations: 95.5 kB / 1.289 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005092/0.4069, allocations: 219.1 kB / 1.289 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.4069, allocations: 0 / 1.289 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4069, allocations: 0 / 1.289 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.819e-06/0.4069, allocations: 0 / 1.289 GB, free: 6.621 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001041/0.4079, allocations: 0.4928 MB / 1.289 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.408, allocations: 8.031 kB / 1.289 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.392e-05/0.4081, allocations: 42.73 kB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.803e-05/0.4081, allocations: 24.8 kB / 1.289 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003566/0.4085, allocations: 185.6 kB / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.4085, allocations: 15.92 kB / 1.289 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.589e-05/0.4086, allocations: 16 kB / 1.289 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002548/0.4088, allocations: 120.8 kB / 1.29 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.4088, allocations: 4 kB / 1.29 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.4088, allocations: 4 kB / 1.29 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.4088, allocations: 4 kB / 1.29 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.409, allocations: 55.88 kB / 1.29 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009709/0.41, allocations: 0.5074 MB / 1.29 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.4101, allocations: 97.06 kB / 1.29 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.467e-05/0.4102, allocations: 37.77 kB / 1.29 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.4102, allocations: 3.938 kB / 1.29 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002384/0.4105, allocations: 133.2 kB / 1.29 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.4105, allocations: 0 / 1.29 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.0003949/0.4109, allocations: 157.5 kB / 1.291 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/0.4109, allocations: 81.11 kB / 1.291 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002365/0.4112, allocations: 201.2 kB / 1.291 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.225e-05/0.4112, allocations: 33.7 kB / 1.291 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.4113, allocations: 128.6 kB / 1.291 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.981e-05/0.4114, allocations: 31.73 kB / 1.291 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.4115, allocations: 65.66 kB / 1.291 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.4116, allocations: 326.8 kB / 1.291 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.077e-05/0.4117, allocations: 27.98 kB / 1.291 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002726/0.412, allocations: 145.3 kB / 1.292 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.4121, allocations: 116.2 kB / 1.292 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4121, allocations: 0 / 1.292 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003006/0.4124, allocations: 161.4 kB / 1.292 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.4125, allocations: 6.5 kB / 1.292 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.4125, allocations: 4 kB / 1.292 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.4125, allocations: 0 / 1.292 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.4126, allocations: 15.94 kB / 1.292 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.4126, allocations: 7.984 kB / 1.292 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000231/0.4128, allocations: 39.95 kB / 1.292 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.4129, allocations: 12 kB / 1.292 GB, free: 3.059 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,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,$whenCondition1,$whenCondition3,$whenCondition4,plotConfiguration.activate_internal) * 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.0001566/0.413, allocations: 135.5 kB / 1.292 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.72e-05/0.4131, allocations: 15.91 kB / 1.292 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.667e-05/0.4131, allocations: 25.45 kB / 1.292 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.4131, allocations: 4 kB / 1.292 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.4131, allocations: 0 / 1.292 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.4131, allocations: 0 / 1.292 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006705/0.4138, allocations: 438.2 kB / 1.292 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.4138, allocations: 7.922 kB / 1.292 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.576e-05/0.4138, allocations: 4 kB / 1.292 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.4138, allocations: 0 / 1.292 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.4138, allocations: 7.938 kB / 1.293 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.4138, allocations: 7.938 kB / 1.293 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4138, allocations: 0 / 1.293 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.4141, allocations: 239.1 kB / 1.293 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.607e-05/0.4141, allocations: 15.84 kB / 1.293 GB, free: 2.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.94e-05/0.4142, allocations: 15.92 kB / 1.293 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.4143, allocations: 7.984 kB / 1.293 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.272e-05/0.4144, allocations: 19.97 kB / 1.293 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.859e-05/0.4144, allocations: 8 kB / 1.293 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001452/0.4146, allocations: 151 kB / 1.293 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4146, allocations: 0 / 1.293 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000333/0.4149, allocations: 44 kB / 1.293 GB, free: 1.855 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.0008878/0.4158, allocations: 0.8283 MB / 1.294 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002566/0.416, allocations: 103.9 kB / 1.294 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.416, allocations: 0 / 1.294 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.4161, allocations: 51.86 kB / 1.294 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004647/0.4166, allocations: 48.77 kB / 1.294 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002473/0.4191, allocations: 1.945 MB / 1.296 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.4195, allocations: 0.7203 MB / 1.297 GB, free: 14 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001126/0.4196, allocations: 25.56 kB / 1.297 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.4197, allocations: 67.41 kB / 1.297 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of SimCode: time 4.01e-07/0.4197, allocations: 0 / 1.297 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03697/0.4567, allocations: 5.74 MB / 1.302 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.36, allocations: 15.12 kB / 1.302 GB, free: 8.336 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_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_PlotterActivationLocalInput.fmu > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.PlotterActivationLocalInput_res.csv. Warning: Get data of variable plotConfiguration.active from file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv failed! Error: Could not read variable sca.active in file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv. Warning: Get data of variable sca.active from file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv failed! Error: Could not read variable scaDel.active in file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv. Warning: Get data of variable scaDel.active from file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.383131350999975]