Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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.001857/0.001857, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002236/0.002236, allocations: 214.3 kB / 22.24 MB, free: 5.262 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.476/1.476, allocations: 230.6 MB / 256 MB, free: 7.785 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.823/2.823, allocations: 476 MB / 0.7699 GB, free: 4.719 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.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",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.002136/0.002136, allocations: 64.52 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3552, allocations: 170 MB / 1.283 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003356/0.3586, allocations: 1.632 MB / 1.284 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001307/0.3599, allocations: 0.5556 MB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.393e-05/0.36, allocations: 7.938 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001905/0.3602, allocations: 19.8 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004101/0.3606, allocations: 123.4 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004415/0.361, allocations: 149.7 kB / 1.285 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003366/0.3613, allocations: 215.5 kB / 1.285 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.3615, allocations: 17.73 kB / 1.285 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.3616, allocations: 99.73 kB / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01324/0.3749, allocations: 1.583 MB / 1.287 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.375, allocations: 16 kB / 1.287 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001961/0.3752, allocations: 43.92 kB / 1.287 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.3753, allocations: 39.83 kB / 1.287 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.3754, allocations: 63.7 kB / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005449/0.376, allocations: 195.3 kB / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.376, allocations: 0 / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.146e-06/0.376, allocations: 3.938 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.076e-05/0.376, allocations: 3.938 kB / 1.287 GB, free: 8.059 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001068/0.3771, allocations: 456.9 kB / 1.288 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.887e-05/0.3771, allocations: 12.03 kB / 1.288 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.616e-05/0.3772, allocations: 42.75 kB / 1.288 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.787e-05/0.3773, allocations: 16.84 kB / 1.288 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004614/0.3777, allocations: 181.9 kB / 1.288 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.3778, allocations: 12 kB / 1.288 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.622e-05/0.3778, allocations: 15.98 kB / 1.288 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/0.3781, allocations: 77.67 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.3781, allocations: 3.938 kB / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.3781, allocations: 0 / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.3781, allocations: 3.984 kB / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.3782, allocations: 39.98 kB / 1.288 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.3793, allocations: 379.6 kB / 1.288 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.3795, allocations: 70.53 kB / 1.288 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.252e-05/0.3795, allocations: 20.86 kB / 1.288 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.3795, allocations: 0 / 1.288 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003216/0.3799, allocations: 99.39 kB / 1.289 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 2.314e-06/0.3799, allocations: 0 / 1.289 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0003749/0.3802, allocations: 137.5 kB / 1.289 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.3803, allocations: 51.41 kB / 1.289 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002758/0.3806, allocations: 183.3 kB / 1.289 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.391e-05/0.3806, allocations: 33.7 kB / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.3807, allocations: 124.1 kB / 1.289 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.3808, allocations: 19.86 kB / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.3809, allocations: 57.61 kB / 1.289 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.381, allocations: 326.8 kB / 1.289 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.727e-05/0.3811, allocations: 27.98 kB / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003623/0.3815, allocations: 230.4 kB / 1.29 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.3816, allocations: 91.72 kB / 1.29 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.3816, allocations: 0 / 1.29 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002606/0.3819, allocations: 133.5 kB / 1.29 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.3819, allocations: 10.12 kB / 1.29 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.3819, allocations: 4 kB / 1.29 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.3819, allocations: 0 / 1.29 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.978e-05/0.382, allocations: 24.12 kB / 1.29 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.382, allocations: 0 / 1.29 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.3822, allocations: 23.88 kB / 1.29 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.3823, allocations: 4 kB / 1.29 GB, free: 4.934 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (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,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001698/0.3824, allocations: 137.8 kB / 1.29 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.454e-05/0.3825, allocations: 15.84 kB / 1.29 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.577e-05/0.3825, allocations: 17.41 kB / 1.29 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.3825, allocations: 4 kB / 1.29 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3825, allocations: 0 / 1.29 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3825, allocations: 4 kB / 1.29 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005993/0.3831, allocations: 401.2 kB / 1.291 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.3831, allocations: 3.984 kB / 1.291 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.497e-05/0.3831, allocations: 4 kB / 1.291 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3832, allocations: 3.938 kB / 1.291 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.3832, allocations: 8 kB / 1.291 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3832, allocations: 0 / 1.291 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3832, allocations: 3.938 kB / 1.291 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/0.3834, allocations: 199.9 kB / 1.291 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.477e-05/0.3834, allocations: 19.89 kB / 1.291 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.3835, allocations: 4 kB / 1.291 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.212e-05/0.3836, allocations: 7.938 kB / 1.291 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.798e-05/0.3836, allocations: 19.97 kB / 1.291 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.422e-05/0.3837, allocations: 4 kB / 1.291 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000152/0.3838, allocations: 137.8 kB / 1.291 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3838, allocations: 0 / 1.291 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003562/0.3842, allocations: 39.94 kB / 1.291 GB, free: 3.84 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0009942/0.3852, allocations: 0.8013 MB / 1.292 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002646/0.3854, allocations: 83.78 kB / 1.292 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3854, allocations: 4.062 kB / 1.292 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.399e-05/0.3855, allocations: 35.92 kB / 1.292 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004505/0.386, allocations: 59.78 kB / 1.292 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002693/0.3887, allocations: 1.78 MB / 1.294 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001407/0.3888, allocations: 110.2 kB / 1.294 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001063/0.3889, allocations: 21.42 kB / 1.294 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.949e-05/0.389, allocations: 43.41 kB / 1.294 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of SimCode: time 8.72e-07/0.389, allocations: 4 kB / 1.294 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03898/0.428, allocations: 5.85 MB / 1.3 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.13, allocations: 5.359 kB / 1.3 GB, free: 11.13 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_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_PlotterActivationAlwaysOn.fmu > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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.PlotterActivationAlwaysOn_res.csv. Warning: Get data of variable plotConfiguration.active from file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv failed! Error: Could not read variable sca.active in file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv. Warning: Get data of variable sca.active from file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv failed! Error: Could not read variable scaDel.active in file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv. Warning: Get data of variable scaDel.active from file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.005716709885746]