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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 112.9 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 225.6 MB / 249.3 MB, free: 3.195 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.482/2.482, allocations: 476.7 MB / 0.7628 GB, free: 15.15 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002569/0.002569, allocations: 67.89 kB / 1.107 GB, free: 5.211 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7754/0.778, allocations: 168.7 MB / 1.271 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002455/0.7804, allocations: 1.657 MB / 1.273 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009465/0.7814, allocations: 0.5752 MB / 1.274 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.544e-05/0.7814, allocations: 1.594 kB / 1.274 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001641/0.7816, allocations: 26.78 kB / 1.274 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003202/0.7819, allocations: 111.8 kB / 1.274 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002983/0.7822, allocations: 153 kB / 1.274 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002464/0.7825, allocations: 218 kB / 1.274 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.412e-05/0.7826, allocations: 22.22 kB / 1.274 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.7827, allocations: 95.72 kB / 1.274 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01103/0.7937, allocations: 1.579 MB / 1.276 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.032e-05/0.7938, allocations: 15.5 kB / 1.276 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.7939, allocations: 36.58 kB / 1.276 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.621e-05/0.7939, allocations: 31.58 kB / 1.276 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.634e-05/0.794, allocations: 85.75 kB / 1.276 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002957/0.7943, allocations: 190.5 kB / 1.276 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.7943, allocations: 1 kB / 1.276 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7943, allocations: 0 / 1.276 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.7943, allocations: 0.5156 kB / 1.276 GB, free: 5.328 MB / 0.9981 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.0005626/0.7949, allocations: 0.533 MB / 1.277 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.7949, allocations: 9.156 kB / 1.277 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.655e-05/0.7949, allocations: 44.16 kB / 1.277 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.812e-05/0.795, allocations: 18.28 kB / 1.277 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.7952, allocations: 247.3 kB / 1.277 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.7952, allocations: 9.469 kB / 1.277 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.253e-05/0.7953, allocations: 19.16 kB / 1.277 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.7954, allocations: 84.69 kB / 1.277 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.7954, allocations: 0.5938 kB / 1.277 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.7954, allocations: 1.484 kB / 1.277 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.7954, allocations: 2.031 kB / 1.277 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.737e-05/0.7955, allocations: 43.16 kB / 1.277 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006239/0.7962, allocations: 442.5 kB / 1.277 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.7963, allocations: 59.06 kB / 1.277 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.282e-05/0.7963, allocations: 28.34 kB / 1.278 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.7963, allocations: 1.188 kB / 1.278 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000162/0.7965, allocations: 89 kB / 1.278 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 1.343e-06/0.7965, allocations: 0.7188 kB / 1.278 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12): time 0.0002539/0.7967, allocations: 135.4 kB / 1.278 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.256e-05/0.7968, allocations: 57.03 kB / 1.278 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.7969, allocations: 190 kB / 1.278 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.7969, allocations: 31.23 kB / 1.278 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.815e-05/0.797, allocations: 119.4 kB / 1.278 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/0.797, allocations: 29.78 kB / 1.278 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.465e-05/0.7971, allocations: 53.61 kB / 1.278 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.211e-05/0.7971, allocations: 327.7 kB / 1.278 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.199e-05/0.7972, allocations: 29.44 kB / 1.279 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.7974, allocations: 114.7 kB / 1.279 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.641e-05/0.7975, allocations: 93.73 kB / 1.279 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.7975, allocations: 0.8438 kB / 1.279 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001866/0.7977, allocations: 137.3 kB / 1.279 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.7977, allocations: 9.656 kB / 1.279 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.7977, allocations: 1.031 kB / 1.279 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.7977, allocations: 2.062 kB / 1.279 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.208e-05/0.7978, allocations: 21.27 kB / 1.279 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.7978, allocations: 5.906 kB / 1.279 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.7979, allocations: 24.14 kB / 1.279 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.798, allocations: 9.078 kB / 1.279 GB, free: 2.945 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: 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 7.677e-05/0.798, allocations: 126.4 kB / 1.279 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.448e-05/0.7981, allocations: 19.16 kB / 1.279 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.25e-05/0.7981, allocations: 20.88 kB / 1.279 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.7981, allocations: 4.906 kB / 1.279 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.7981, allocations: 4.844 kB / 1.279 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.7981, allocations: 0 / 1.279 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003859/0.7985, allocations: 434 kB / 1.28 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.7985, allocations: 0 / 1.28 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.899e-05/0.7985, allocations: 2.719 kB / 1.28 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.7985, allocations: 2.594 kB / 1.28 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.497e-06/0.7985, allocations: 8.812 kB / 1.28 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.7985, allocations: 0.8438 kB / 1.28 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7985, allocations: 0.9062 kB / 1.28 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.7987, allocations: 205.3 kB / 1.28 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.836e-05/0.7987, allocations: 93.61 kB / 1.28 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.7987, allocations: 5.078 kB / 1.28 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.814e-05/0.7988, allocations: 10.67 kB / 1.28 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.3e-05/0.7989, allocations: 17.83 kB / 1.28 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.7989, allocations: 4.656 kB / 1.28 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.108e-05/0.799, allocations: 137.4 kB / 1.28 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.799, allocations: 4 kB / 1.28 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00028/0.7993, allocations: 40.78 kB / 1.28 GB, free: 2.039 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: 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.0005138/0.7998, allocations: 0.8013 MB / 1.281 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001863/0.8, allocations: 79.11 kB / 1.281 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.8, allocations: 256 / 1.281 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.004e-05/0.8, allocations: 36.48 kB / 1.281 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.8004, allocations: 47.48 kB / 1.281 GB, free: 1.277 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.802, allocations: 1.774 MB / 1.283 GB, free: 15.82 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.8023, allocations: 0.7133 MB / 1.283 GB, free: 15.13 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.758e-05/0.8024, allocations: 28.41 kB / 1.283 GB, free: 15.12 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.771e-05/0.8025, allocations: 49.58 kB / 1.283 GB, free: 15.09 MB / 1.014 GB Notification: Performance of SimCode: time 3.91e-07/0.8025, allocations: 0 / 1.283 GB, free: 15.09 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02817/0.8306, allocations: 5.024 MB / 1.288 GB, free: 14.38 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.395/8.226, allocations: 12.61 kB / 1.288 GB, free: 14.37 MB / 1.014 GB " [Timeout remaining time 292] (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: 13.55275206999795]