Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.001707/0.001707, allocations: 113 kB / 18.94 MB, free: 2.934 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.002135/0.002135, allocations: 208.4 kB / 22.25 MB, free: 5.086 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.581/1.581, allocations: 230.6 MB / 256 MB, free: 8.012 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.914/2.914, allocations: 476.7 MB / 0.7707 GB, free: 4.238 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.PlotterActivationGlobalInput,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",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.00205/0.00205, allocations: 67.22 kB / 1.117 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3447, allocations: 170 MB / 1.283 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003447/0.3481, allocations: 1.773 MB / 1.285 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001769/0.3499, allocations: 0.9475 MB / 1.286 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.95e-05/0.35, allocations: 3.938 kB / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002275/0.3502, allocations: 35.72 kB / 1.286 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004177/0.3506, allocations: 107.5 kB / 1.286 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004421/0.3511, allocations: 167.5 kB / 1.286 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003609/0.3514, allocations: 251.3 kB / 1.287 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.3516, allocations: 25.31 kB / 1.287 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.3517, allocations: 111.7 kB / 1.287 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01384/0.3656, allocations: 1.708 MB / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.307e-05/0.3656, allocations: 20 kB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.3658, allocations: 35.98 kB / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.223e-05/0.3659, allocations: 39.78 kB / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.366, allocations: 91.56 kB / 1.289 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004265/0.3664, allocations: 215.2 kB / 1.289 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3664, allocations: 0 / 1.289 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.734e-06/0.3664, allocations: 0 / 1.289 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.3664, allocations: 4 kB / 1.289 GB, free: 6.664 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009285/0.3674, allocations: 0.4928 MB / 1.289 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.3674, allocations: 8.031 kB / 1.289 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.865e-05/0.3675, allocations: 42.73 kB / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.419e-05/0.3675, allocations: 24.8 kB / 1.289 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003209/0.3679, allocations: 185.6 kB / 1.289 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.3679, allocations: 12 kB / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.735e-05/0.3679, allocations: 16 kB / 1.29 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.3681, allocations: 89.58 kB / 1.29 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3681, allocations: 4 kB / 1.29 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.3681, allocations: 4 kB / 1.29 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3681, allocations: 0 / 1.29 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.3683, allocations: 54.38 kB / 1.29 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008666/0.3691, allocations: 443.4 kB / 1.29 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004323/0.3696, allocations: 130.7 kB / 1.29 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.557e-05/0.3696, allocations: 36.72 kB / 1.29 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.3697, allocations: 4 kB / 1.29 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002753/0.3699, allocations: 107.3 kB / 1.29 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.753e-06/0.3699, allocations: 0 / 1.29 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0003845/0.3703, allocations: 168.4 kB / 1.29 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.3704, allocations: 55.41 kB / 1.291 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/0.3706, allocations: 209.2 kB / 1.291 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.046e-05/0.3706, allocations: 33.7 kB / 1.291 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.859e-05/0.3707, allocations: 124.5 kB / 1.291 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.3708, allocations: 31.78 kB / 1.291 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.649e-05/0.3709, allocations: 57.69 kB / 1.291 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.371, allocations: 330.8 kB / 1.291 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.653e-05/0.3711, allocations: 27.98 kB / 1.291 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.3713, allocations: 135.6 kB / 1.291 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.3715, allocations: 102.6 kB / 1.292 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3715, allocations: 3.938 kB / 1.292 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000259/0.3717, allocations: 157.4 kB / 1.292 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3718, allocations: 4 kB / 1.292 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.3718, allocations: 0 / 1.292 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.3718, allocations: 4 kB / 1.292 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.388e-05/0.3718, allocations: 15.94 kB / 1.292 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.3719, allocations: 3.984 kB / 1.292 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.3721, allocations: 32.03 kB / 1.292 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.3721, allocations: 12 kB / 1.292 GB, free: 3.309 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: 19 ($whenCondition3,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,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * 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.0001337/0.3722, allocations: 131.5 kB / 1.292 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.44e-05/0.3722, allocations: 23.8 kB / 1.292 GB, free: 3.148 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.951e-05/0.3723, allocations: 25.8 kB / 1.292 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3723, allocations: 0 / 1.292 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3723, allocations: 0 / 1.292 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.3723, allocations: 4 kB / 1.292 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007084/0.373, allocations: 465.2 kB / 1.292 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.373, allocations: 3.938 kB / 1.292 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.737e-05/0.373, allocations: 7.984 kB / 1.292 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.373, allocations: 0 / 1.292 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.3731, allocations: 11.94 kB / 1.292 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3731, allocations: 0 / 1.292 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3731, allocations: 0 / 1.292 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.3733, allocations: 238.8 kB / 1.293 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.198e-05/0.3734, allocations: 15.84 kB / 1.293 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.603e-05/0.3734, allocations: 11.94 kB / 1.293 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.3735, allocations: 7.984 kB / 1.293 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.673e-05/0.3736, allocations: 23.95 kB / 1.293 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-05/0.3736, allocations: 12 kB / 1.293 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001338/0.3738, allocations: 147 kB / 1.293 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3738, allocations: 0 / 1.293 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003173/0.3741, allocations: 48 kB / 1.293 GB, free: 2.082 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: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.0008775/0.375, allocations: 0.8351 MB / 1.294 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002273/0.3752, allocations: 91.84 kB / 1.294 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3752, allocations: 0 / 1.294 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.813e-05/0.3753, allocations: 52.16 kB / 1.294 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/0.3757, allocations: 51.91 kB / 1.294 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/0.378, allocations: 1.914 MB / 1.296 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.3783, allocations: 0.7203 MB / 1.296 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.832e-05/0.3784, allocations: 37.53 kB / 1.297 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.3785, allocations: 59.36 kB / 1.297 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of SimCode: time 3.9e-07/0.3785, allocations: 0 / 1.297 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03748/0.416, allocations: 5.799 MB / 1.302 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.42, allocations: 7.141 kB / 1.302 GB, free: 8.562 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_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_PlotterActivationGlobalInput.fmu > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.PlotterActivationGlobalInput_res.csv. Warning: Get data of variable plotConfiguration.active from file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv failed! Error: Could not read variable sca.active in file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv. Warning: Get data of variable sca.active from file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv failed! Error: Could not read variable scaDel.active in file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv. Warning: Get data of variable scaDel.active from file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.590356209000674]