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.001497/0.001497, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001503/0.001503, allocations: 218.9 kB / 22.25 MB, free: 5.258 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.47/1.47, allocations: 230.6 MB / 256 MB, free: 7.836 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.251/3.251, allocations: 0.49 GB / 0.7951 GB, free: 35.51 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.003061/0.003061, allocations: 62.03 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.3943, allocations: 176.1 MB / 1.326 GB, free: 1.566 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003237/0.3975, allocations: 1.62 MB / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001192/0.3987, allocations: 0.5694 MB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.235e-05/0.3988, allocations: 0 / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001787/0.3989, allocations: 27.72 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003446/0.3993, allocations: 119.5 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003787/0.3997, allocations: 142.5 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002928/0.4, allocations: 215.5 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.4001, allocations: 17.75 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.4002, allocations: 115.7 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01242/0.4126, allocations: 1.583 MB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.152e-05/0.4127, allocations: 16 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.4128, allocations: 36 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.472e-05/0.4129, allocations: 39.83 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001192/0.413, allocations: 63.64 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003832/0.4134, allocations: 195.3 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.4134, allocations: 0 / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4134, allocations: 3.938 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.4134, allocations: 4 kB / 1.33 GB, free: 13.22 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.0008037/0.4142, allocations: 466.6 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.4143, allocations: 8.031 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.14e-05/0.4143, allocations: 42.73 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.394e-05/0.4144, allocations: 16.84 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/0.4147, allocations: 190.4 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.4147, allocations: 12 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.044e-05/0.4147, allocations: 12 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.4149, allocations: 85.66 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.066e-06/0.4149, allocations: 0 / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.4149, allocations: 0 / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.4149, allocations: 4 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.415, allocations: 43.92 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007932/0.4158, allocations: 375.7 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.416, allocations: 66.5 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.057e-05/0.416, allocations: 28.84 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.416, allocations: 0 / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002308/0.4163, allocations: 99.25 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.873e-06/0.4163, allocations: 0 / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0003093/0.4166, allocations: 129.6 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/0.4167, allocations: 55.41 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/0.4169, allocations: 195.3 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/0.4169, allocations: 33.7 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.519e-05/0.417, allocations: 116 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.281e-05/0.4171, allocations: 31.73 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.013e-05/0.4172, allocations: 53.67 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.4173, allocations: 326.8 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.969e-05/0.4174, allocations: 31.89 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003855/0.4178, allocations: 218.5 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.4179, allocations: 89.22 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.4179, allocations: 7.938 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002186/0.4181, allocations: 137.5 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.4181, allocations: 7.938 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.4181, allocations: 0 / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.4182, allocations: 4 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.985e-05/0.4182, allocations: 15.94 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.4183, allocations: 7.984 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001655/0.4184, allocations: 11.95 kB / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.4184, allocations: 4 kB / 1.333 GB, free: 10.08 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.0001295/0.4186, allocations: 149.7 kB / 1.333 GB, free: 9.922 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.4186, allocations: 19.84 kB / 1.333 GB, free: 9.902 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.47e-05/0.4186, allocations: 17.41 kB / 1.333 GB, free: 9.879 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.4186, allocations: 3.984 kB / 1.333 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4186, allocations: 0 / 1.333 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.4186, allocations: 0 / 1.333 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005197/0.4192, allocations: 397.3 kB / 1.334 GB, free: 9.438 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4192, allocations: 0 / 1.334 GB, free: 9.438 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.142e-05/0.4192, allocations: 4 kB / 1.334 GB, free: 9.434 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.4192, allocations: 0 / 1.334 GB, free: 9.434 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.4192, allocations: 8 kB / 1.334 GB, free: 9.426 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.4192, allocations: 4 kB / 1.334 GB, free: 9.422 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4192, allocations: 0 / 1.334 GB, free: 9.422 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002158/0.4194, allocations: 207.9 kB / 1.334 GB, free: 9.203 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.589e-05/0.4194, allocations: 15.91 kB / 1.334 GB, free: 9.188 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.4195, allocations: 3.938 kB / 1.334 GB, free: 9.184 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.475e-05/0.4196, allocations: 7.984 kB / 1.334 GB, free: 9.176 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.751e-05/0.4196, allocations: 15.92 kB / 1.334 GB, free: 9.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.371e-05/0.4196, allocations: 11.98 kB / 1.334 GB, free: 9.148 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001167/0.4198, allocations: 128.1 kB / 1.334 GB, free: 9.023 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4198, allocations: 4 kB / 1.334 GB, free: 9.02 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002955/0.4201, allocations: 47.92 kB / 1.334 GB, free: 8.973 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.0008768/0.4209, allocations: 0.8162 MB / 1.335 GB, free: 8.16 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002263/0.4212, allocations: 75.84 kB / 1.335 GB, free: 8.086 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4212, allocations: 4 kB / 1.335 GB, free: 8.082 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.777e-05/0.4212, allocations: 28 kB / 1.335 GB, free: 8.055 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/0.4216, allocations: 41.78 kB / 1.335 GB, free: 8.016 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.424, allocations: 1.784 MB / 1.337 GB, free: 6.121 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.4241, allocations: 110.1 kB / 1.337 GB, free: 5.992 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.105e-05/0.4242, allocations: 21.47 kB / 1.337 GB, free: 5.973 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.675e-05/0.4243, allocations: 47.41 kB / 1.337 GB, free: 5.926 MB / 1.029 GB Notification: Performance of SimCode: time 4.5e-07/0.4243, allocations: 4 kB / 1.337 GB, free: 5.922 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0409/0.4652, allocations: 5.864 MB / 1.343 GB, free: 260 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.15, allocations: 8.906 kB / 1.343 GB, free: 256 kB / 1.029 GB " [Timeout remaining time 288] (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: 19.03053533800994]