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.001888/0.001888, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002497/0.002497, allocations: 216.6 kB / 22.25 MB, free: 4.855 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.636/1.636, allocations: 230.6 MB / 256 MB, free: 7.797 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.372/3.372, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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.002053/0.002053, allocations: 71.7 kB / 1.186 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4354/0.4375, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003676/0.4412, allocations: 1.727 MB / 1.365 GB, free: 12.35 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001799/0.443, allocations: 0.8979 MB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.227e-05/0.443, allocations: 8 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001985/0.4432, allocations: 27.72 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003765/0.4436, allocations: 123.4 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003844/0.444, allocations: 159.6 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003145/0.4443, allocations: 243.4 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.4445, allocations: 30.02 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.4446, allocations: 115.7 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0133/0.4579, allocations: 1.664 MB / 1.368 GB, free: 9.523 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001149/0.458, allocations: 16 kB / 1.368 GB, free: 9.508 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001645/0.4582, allocations: 36 kB / 1.368 GB, free: 9.473 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.4583, allocations: 43.84 kB / 1.368 GB, free: 9.43 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.4584, allocations: 83.56 kB / 1.368 GB, free: 9.348 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005789/0.459, allocations: 215.2 kB / 1.369 GB, free: 9.137 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.459, allocations: 4 kB / 1.369 GB, free: 9.133 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.846e-06/0.459, allocations: 0 / 1.369 GB, free: 9.133 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.286e-05/0.459, allocations: 0 / 1.369 GB, free: 9.133 MB / 1.061 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.001129/0.4602, allocations: 496.6 kB / 1.369 GB, free: 8.605 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.748e-05/0.4602, allocations: 12.03 kB / 1.369 GB, free: 8.594 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.836e-05/0.4603, allocations: 38.75 kB / 1.369 GB, free: 8.547 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.751e-05/0.4604, allocations: 20.78 kB / 1.369 GB, free: 8.527 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003764/0.4608, allocations: 189.6 kB / 1.369 GB, free: 8.316 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.4608, allocations: 12 kB / 1.369 GB, free: 8.305 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/0.4608, allocations: 16 kB / 1.369 GB, free: 8.289 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002603/0.4611, allocations: 121.1 kB / 1.369 GB, free: 8.16 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.4611, allocations: 4 kB / 1.369 GB, free: 8.156 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.4611, allocations: 0 / 1.369 GB, free: 8.156 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.4611, allocations: 4 kB / 1.369 GB, free: 8.152 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.4613, allocations: 55.88 kB / 1.37 GB, free: 8.098 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.4623, allocations: 491.7 kB / 1.37 GB, free: 7.57 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.4625, allocations: 93.25 kB / 1.37 GB, free: 7.461 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.826e-05/0.4625, allocations: 33.78 kB / 1.37 GB, free: 7.422 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.4626, allocations: 7.938 kB / 1.37 GB, free: 7.414 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002326/0.4628, allocations: 117 kB / 1.37 GB, free: 7.281 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.4628, allocations: 4 kB / 1.37 GB, free: 7.277 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.000397/0.4632, allocations: 161.5 kB / 1.37 GB, free: 7.113 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.659e-05/0.4633, allocations: 85.05 kB / 1.37 GB, free: 7.012 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002321/0.4635, allocations: 202.5 kB / 1.371 GB, free: 6.801 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.184e-05/0.4635, allocations: 37.77 kB / 1.371 GB, free: 6.758 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.4636, allocations: 128.5 kB / 1.371 GB, free: 6.629 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.048e-05/0.4637, allocations: 39.67 kB / 1.371 GB, free: 6.59 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.4638, allocations: 61.67 kB / 1.371 GB, free: 6.523 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.4639, allocations: 326.8 kB / 1.371 GB, free: 6.195 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.401e-05/0.464, allocations: 31.98 kB / 1.371 GB, free: 6.164 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003298/0.4644, allocations: 248.1 kB / 1.372 GB, free: 5.863 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/0.4646, allocations: 119.2 kB / 1.372 GB, free: 5.727 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.4646, allocations: 4 kB / 1.372 GB, free: 5.723 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003017/0.4649, allocations: 153.5 kB / 1.372 GB, free: 5.566 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.4649, allocations: 5.875 kB / 1.372 GB, free: 5.562 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.4649, allocations: 4 kB / 1.372 GB, free: 5.559 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.4649, allocations: 0 / 1.372 GB, free: 5.559 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.514e-05/0.465, allocations: 19.92 kB / 1.372 GB, free: 5.539 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.465, allocations: 4 kB / 1.372 GB, free: 5.535 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002281/0.4652, allocations: 32.03 kB / 1.372 GB, free: 5.504 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.4653, allocations: 12 kB / 1.372 GB, free: 5.492 MB / 1.061 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.000159/0.4654, allocations: 143.5 kB / 1.372 GB, free: 5.344 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.4655, allocations: 19.86 kB / 1.372 GB, free: 5.324 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.335e-05/0.4655, allocations: 21.45 kB / 1.372 GB, free: 5.297 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.4655, allocations: 4 kB / 1.372 GB, free: 5.293 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.4655, allocations: 0 / 1.372 GB, free: 5.293 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.4655, allocations: 0 / 1.372 GB, free: 5.293 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006563/0.4662, allocations: 426.6 kB / 1.372 GB, free: 4.828 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.4662, allocations: 0 / 1.372 GB, free: 4.828 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.608e-05/0.4662, allocations: 4 kB / 1.372 GB, free: 4.824 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.4662, allocations: 0 / 1.372 GB, free: 4.824 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.4662, allocations: 7.938 kB / 1.372 GB, free: 4.816 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.4662, allocations: 0 / 1.372 GB, free: 4.816 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4662, allocations: 3.938 kB / 1.372 GB, free: 4.812 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002796/0.4665, allocations: 232.2 kB / 1.373 GB, free: 4.566 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.426e-05/0.4666, allocations: 19.84 kB / 1.373 GB, free: 4.547 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/0.4666, allocations: 7.938 kB / 1.373 GB, free: 4.539 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.4667, allocations: 19.97 kB / 1.373 GB, free: 4.52 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.936e-05/0.4668, allocations: 19.97 kB / 1.373 GB, free: 4.5 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.369e-05/0.4668, allocations: 4 kB / 1.373 GB, free: 4.496 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001407/0.467, allocations: 148.2 kB / 1.373 GB, free: 4.352 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.467, allocations: 0 / 1.373 GB, free: 4.352 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003352/0.4673, allocations: 51.89 kB / 1.373 GB, free: 4.301 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.000948/0.4682, allocations: 0.8377 MB / 1.374 GB, free: 3.457 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002579/0.4685, allocations: 93.34 kB / 1.374 GB, free: 3.367 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4685, allocations: 320 / 1.374 GB, free: 3.367 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.4686, allocations: 51.92 kB / 1.374 GB, free: 3.316 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004569/0.4691, allocations: 56.95 kB / 1.374 GB, free: 3.266 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002447/0.4715, allocations: 1.933 MB / 1.376 GB, free: 1.207 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.4716, allocations: 120.2 kB / 1.376 GB, free: 1.074 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001146/0.4717, allocations: 21.62 kB / 1.376 GB, free: 1.051 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.4719, allocations: 55.5 kB / 1.376 GB, free: 0.9961 MB / 1.061 GB Notification: Performance of SimCode: time 4.91e-07/0.4719, allocations: 0 / 1.376 GB, free: 0.9961 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04679/0.5186, allocations: 6.414 MB / 1.382 GB, free: 10.77 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.99, allocations: 8.047 kB / 1.382 GB, free: 10.76 MB / 1.076 GB " [Timeout remaining time 288] (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: 19.352228224743158]