Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.001898/0.001898, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.002395/0.002395, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.615/1.615, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.419/3.419, allocations: 0.505 GB / 0.8066 GB, free: 23.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.PlotterActivationLocalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",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.002113/0.002113, allocations: 65.34 kB / 1.172 GB, free: 17.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4255/0.4276, allocations: 180.2 MB / 1.348 GB, free: 9.988 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003505/0.4311, allocations: 1.765 MB / 1.349 GB, free: 8.211 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001723/0.4328, allocations: 0.9402 MB / 1.35 GB, free: 7.27 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.666e-05/0.4329, allocations: 4 kB / 1.35 GB, free: 7.266 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002077/0.4331, allocations: 27.72 kB / 1.35 GB, free: 7.238 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004026/0.4335, allocations: 123.4 kB / 1.351 GB, free: 7.117 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003943/0.4339, allocations: 159.6 kB / 1.351 GB, free: 6.961 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003362/0.4342, allocations: 239.3 kB / 1.351 GB, free: 6.727 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.4344, allocations: 37.94 kB / 1.351 GB, free: 6.688 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.4345, allocations: 111.7 kB / 1.351 GB, free: 6.578 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01331/0.4478, allocations: 1.67 MB / 1.353 GB, free: 5.344 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.807e-05/0.4479, allocations: 16 kB / 1.353 GB, free: 5.328 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.4481, allocations: 39.98 kB / 1.353 GB, free: 5.289 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.987e-05/0.4482, allocations: 43.83 kB / 1.353 GB, free: 5.246 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001503/0.4483, allocations: 91.56 kB / 1.353 GB, free: 5.156 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000477/0.4488, allocations: 223.1 kB / 1.353 GB, free: 4.938 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4488, allocations: 4 kB / 1.353 GB, free: 4.934 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.754e-06/0.4488, allocations: 0 / 1.353 GB, free: 4.934 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.4488, allocations: 0 / 1.353 GB, free: 4.934 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001032/0.4498, allocations: 0.5564 MB / 1.354 GB, free: 4.316 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.974e-05/0.4499, allocations: 15.98 kB / 1.354 GB, free: 4.301 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.022e-05/0.45, allocations: 38.75 kB / 1.354 GB, free: 4.254 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.78e-05/0.45, allocations: 20.84 kB / 1.354 GB, free: 4.234 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/0.4504, allocations: 247.4 kB / 1.354 GB, free: 3.953 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.4504, allocations: 12 kB / 1.354 GB, free: 3.941 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.616e-05/0.4504, allocations: 16 kB / 1.354 GB, free: 3.926 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002441/0.4507, allocations: 107.3 kB / 1.354 GB, free: 3.809 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.4507, allocations: 7.938 kB / 1.354 GB, free: 3.801 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.4507, allocations: 7.984 kB / 1.354 GB, free: 3.793 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.4507, allocations: 0 / 1.354 GB, free: 3.793 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.4508, allocations: 55.97 kB / 1.354 GB, free: 3.738 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009905/0.4518, allocations: 0.5396 MB / 1.355 GB, free: 3.145 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.452, allocations: 101.2 kB / 1.355 GB, free: 3.027 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.69e-05/0.4521, allocations: 33.77 kB / 1.355 GB, free: 2.988 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.4521, allocations: 7.938 kB / 1.355 GB, free: 2.98 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003332/0.4525, allocations: 119.4 kB / 1.355 GB, free: 2.848 MB / 1.045 GB Notification: Performance of pre-optimization done (n=15): time 1.172e-06/0.4525, allocations: 4 kB / 1.355 GB, free: 2.844 MB / 1.045 GB Notification: Performance of matching and sorting (n=15): time 0.0004293/0.4529, allocations: 165.5 kB / 1.355 GB, free: 2.676 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.12e-05/0.453, allocations: 77.11 kB / 1.355 GB, free: 2.582 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002561/0.4532, allocations: 214.4 kB / 1.355 GB, free: 2.359 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.236e-05/0.4533, allocations: 33.7 kB / 1.355 GB, free: 2.32 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.4534, allocations: 124.5 kB / 1.355 GB, free: 2.195 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.675e-05/0.4534, allocations: 31.75 kB / 1.356 GB, free: 2.164 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.4535, allocations: 57.8 kB / 1.356 GB, free: 2.102 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.4537, allocations: 330.8 kB / 1.356 GB, free: 1.77 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.744e-05/0.4538, allocations: 35.98 kB / 1.356 GB, free: 1.734 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002723/0.4541, allocations: 133.3 kB / 1.356 GB, free: 1.57 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001855/0.4542, allocations: 119.2 kB / 1.356 GB, free: 1.434 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.4542, allocations: 0 / 1.356 GB, free: 1.434 MB / 1.045 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002942/0.4545, allocations: 165.5 kB / 1.356 GB, free: 1.266 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.4546, allocations: 8 kB / 1.356 GB, free: 1.258 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.4546, allocations: 0 / 1.356 GB, free: 1.258 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.4546, allocations: 4 kB / 1.356 GB, free: 1.254 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.455e-05/0.4547, allocations: 19.94 kB / 1.356 GB, free: 1.234 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.4547, allocations: 7.984 kB / 1.356 GB, free: 1.227 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002297/0.4549, allocations: 23.88 kB / 1.356 GB, free: 1.203 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.4549, allocations: 8 kB / 1.356 GB, free: 1.195 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,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,$whenCondition1,$whenCondition3,$whenCondition4,plotConfiguration.activate_internal) * 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.0001726/0.4551, allocations: 143.6 kB / 1.357 GB, free: 1.047 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.026e-05/0.4552, allocations: 19.91 kB / 1.357 GB, free: 1.027 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.895e-05/0.4552, allocations: 21.52 kB / 1.357 GB, free: 1 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.4552, allocations: 0 / 1.357 GB, free: 1 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.4552, allocations: 4 kB / 1.357 GB, free: 0.9961 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.4552, allocations: 0 / 1.357 GB, free: 0.9961 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007226/0.456, allocations: 464.5 kB / 1.357 GB, free: 500 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.456, allocations: 3.938 kB / 1.357 GB, free: 496 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.534e-05/0.456, allocations: 8 kB / 1.357 GB, free: 488 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.456, allocations: 4 kB / 1.357 GB, free: 484 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.456, allocations: 7.922 kB / 1.357 GB, free: 476 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.456, allocations: 0 / 1.357 GB, free: 476 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.456, allocations: 4 kB / 1.357 GB, free: 472 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003127/0.4563, allocations: 232.1 kB / 1.357 GB, free: 220 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.16e-05/0.4564, allocations: 93 kB / 1.357 GB, free: 108 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.757e-05/0.4564, allocations: 11.94 kB / 1.357 GB, free: 96 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.4566, allocations: 11.98 kB / 1.357 GB, free: 84 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.732e-05/0.4566, allocations: 20.06 kB / 1.357 GB, free: 64 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.773e-05/0.4567, allocations: 7.984 kB / 1.357 GB, free: 56 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001879/0.4569, allocations: 148.2 kB / 1.358 GB, free: 15.91 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4569, allocations: 0 / 1.358 GB, free: 15.91 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000347/0.4572, allocations: 47.94 kB / 1.358 GB, free: 15.86 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.0009712/0.4582, allocations: 0.8346 MB / 1.358 GB, free: 15.02 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002762/0.4584, allocations: 98.97 kB / 1.358 GB, free: 14.93 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.4584, allocations: 0 / 1.358 GB, free: 14.93 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.4586, allocations: 52.22 kB / 1.359 GB, free: 14.88 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004655/0.459, allocations: 52.39 kB / 1.359 GB, free: 14.83 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002597/0.4616, allocations: 1.941 MB / 1.36 GB, free: 12.76 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/0.462, allocations: 0.732 MB / 1.361 GB, free: 12 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001018/0.4621, allocations: 25.48 kB / 1.361 GB, free: 11.98 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.4622, allocations: 55.41 kB / 1.361 GB, free: 11.92 MB / 1.061 GB Notification: Performance of SimCode: time 4.81e-07/0.4622, allocations: 0 / 1.361 GB, free: 11.92 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03602/0.4982, allocations: 5.555 MB / 1.367 GB, free: 6.531 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.446/8.944, allocations: 11.97 kB / 1.367 GB, free: 6.52 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv --start-time 0 --stop-time 10 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable plotConfiguration.active in file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv. Warning: Get data of variable plotConfiguration.active from file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv failed! Error: Could not read variable sca.active in file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv. Warning: Get data of variable sca.active from file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv failed! Error: Could not read variable scaDel.active in file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv. Warning: Get data of variable scaDel.active from file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.164519243873656]