Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001628/0.001628, allocations: 103 kB / 16.45 MB, free: 6.449 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.001946/0.001946, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.558/1.558, allocations: 230.6 MB / 252.8 MB, free: 9.133 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.261/3.261, allocations: 0.49 GB / 0.7916 GB, free: 33.31 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.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_12_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.002952/0.002952, allocations: 70 kB / 1.149 GB, free: 26.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.451/0.4539, allocations: 176.1 MB / 1.321 GB, free: 3.387 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003535/0.4574, allocations: 1.653 MB / 1.322 GB, free: 1.723 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001212/0.4587, allocations: 0.5733 MB / 1.323 GB, free: 1.148 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.573e-05/0.4587, allocations: 3.938 kB / 1.323 GB, free: 1.145 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002/0.4589, allocations: 27.72 kB / 1.323 GB, free: 1.117 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003767/0.4593, allocations: 115.5 kB / 1.323 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003691/0.4597, allocations: 143.7 kB / 1.323 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00037/0.4601, allocations: 215.5 kB / 1.323 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.4602, allocations: 21.56 kB / 1.323 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.4603, allocations: 103.7 kB / 1.324 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01246/0.4728, allocations: 1.576 MB / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.422e-05/0.4728, allocations: 16 kB / 1.325 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.473, allocations: 35.88 kB / 1.325 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.869e-05/0.4731, allocations: 39.83 kB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.4732, allocations: 83.56 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003796/0.4736, allocations: 199.2 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.4736, allocations: 0 / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.012e-06/0.4736, allocations: 4 kB / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.4736, allocations: 0 / 1.325 GB, free: 14.99 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008426/0.4744, allocations: 0.5254 MB / 1.326 GB, free: 14.41 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.4745, allocations: 15.98 kB / 1.326 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.541e-05/0.4745, allocations: 34.75 kB / 1.326 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.804e-05/0.4746, allocations: 24.8 kB / 1.326 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003529/0.4749, allocations: 239.8 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.475, allocations: 16 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.196e-05/0.475, allocations: 12 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.4752, allocations: 77.66 kB / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.812e-06/0.4752, allocations: 0 / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.4752, allocations: 8 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.4752, allocations: 3.938 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.867e-05/0.4753, allocations: 39.98 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008565/0.4762, allocations: 448.4 kB / 1.327 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.4763, allocations: 58.56 kB / 1.327 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.183e-05/0.4764, allocations: 32.97 kB / 1.327 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.4764, allocations: 0 / 1.327 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002037/0.4766, allocations: 95.34 kB / 1.327 GB, free: 13.2 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.4766, allocations: 0 / 1.327 GB, free: 13.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0002924/0.4769, allocations: 137.4 kB / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.4769, allocations: 55.41 kB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.4772, allocations: 191.1 kB / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.655e-05/0.4772, allocations: 33.7 kB / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.425e-05/0.4773, allocations: 120.2 kB / 1.328 GB, free: 12.63 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.4773, allocations: 19.86 kB / 1.328 GB, free: 12.61 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.638e-05/0.4774, allocations: 57.67 kB / 1.328 GB, free: 12.55 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.4775, allocations: 322.8 kB / 1.328 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.715e-05/0.4776, allocations: 27.98 kB / 1.328 GB, free: 12.2 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002397/0.4778, allocations: 115.6 kB / 1.328 GB, free: 12.05 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.478, allocations: 88.22 kB / 1.328 GB, free: 11.95 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.478, allocations: 0 / 1.328 GB, free: 11.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000237/0.4782, allocations: 139.2 kB / 1.328 GB, free: 11.81 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.4782, allocations: 11.94 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.4782, allocations: 128 / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.4783, allocations: 7.938 kB / 1.328 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.079e-05/0.4783, allocations: 19.92 kB / 1.328 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.4783, allocations: 4 kB / 1.328 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.4785, allocations: 19.89 kB / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.4785, allocations: 7.984 kB / 1.328 GB, free: 11.74 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: 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.0001313/0.4787, allocations: 132.5 kB / 1.328 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.4787, allocations: 19.84 kB / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.48e-05/0.4788, allocations: 17.39 kB / 1.328 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.4788, allocations: 8 kB / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.4788, allocations: 0 / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.4788, allocations: 0 / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005896/0.4793, allocations: 434.2 kB / 1.329 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4794, allocations: 0 / 1.329 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.547e-05/0.4794, allocations: 11.92 kB / 1.329 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.4794, allocations: 0 / 1.329 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.4794, allocations: 4 kB / 1.329 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.4794, allocations: 4 kB / 1.329 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4794, allocations: 4 kB / 1.329 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002086/0.4796, allocations: 203.3 kB / 1.329 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.414e-05/0.4797, allocations: 93.02 kB / 1.329 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.4797, allocations: 7.984 kB / 1.329 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.472e-05/0.4798, allocations: 4 kB / 1.329 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.145e-05/0.4799, allocations: 19.97 kB / 1.329 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.4799, allocations: 4 kB / 1.329 GB, free: 10.69 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001277/0.48, allocations: 141.1 kB / 1.329 GB, free: 10.55 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.48, allocations: 0 / 1.329 GB, free: 10.55 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000296/0.4803, allocations: 43.94 kB / 1.329 GB, free: 10.51 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: 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.0008049/0.4811, allocations: 0.8043 MB / 1.33 GB, free: 9.707 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001943/0.4813, allocations: 83.59 kB / 1.33 GB, free: 9.629 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.4813, allocations: 0 / 1.33 GB, free: 9.629 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.209e-05/0.4814, allocations: 35.86 kB / 1.33 GB, free: 9.594 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.4818, allocations: 53.92 kB / 1.33 GB, free: 9.543 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002316/0.4841, allocations: 1.775 MB / 1.332 GB, free: 7.66 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004266/0.4845, allocations: 0.7124 MB / 1.333 GB, free: 6.922 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.527e-05/0.4846, allocations: 25.53 kB / 1.333 GB, free: 6.891 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.075e-05/0.4847, allocations: 47.42 kB / 1.333 GB, free: 6.844 MB / 1.029 GB Notification: Performance of SimCode: time 5.52e-07/0.4847, allocations: 0 / 1.333 GB, free: 6.844 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03141/0.5161, allocations: 5.033 MB / 1.338 GB, free: 1.965 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.576/9.092, allocations: 3.938 kB / 1.338 GB, free: 1.961 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.fmu > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv. Warning: Get data of variable plotConfiguration.active from file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv failed! Error: Could not read variable sca.active in file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv. Warning: Get data of variable sca.active from file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv failed! Error: Could not read variable scaDel.active in file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv. Warning: Get data of variable scaDel.active from file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.1148785201367]