Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.001318/0.001318, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001494/0.001494, allocations: 217.3 kB / 22.26 MB, free: 5.113 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.605/1.605, allocations: 230.6 MB / 256 MB, free: 8.031 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.329/3.329, allocations: 0.505 GB / 0.8101 GB, free: 22.03 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.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",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.002005/0.002005, allocations: 68.55 kB / 1.177 GB, free: 17.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3866/0.3886, allocations: 180.2 MB / 1.353 GB, free: 8.469 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003365/0.392, allocations: 1.783 MB / 1.355 GB, free: 6.672 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001726/0.3937, allocations: 0.9597 MB / 1.356 GB, free: 5.711 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.103e-05/0.3938, allocations: 0 / 1.356 GB, free: 5.711 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002034/0.394, allocations: 23.73 kB / 1.356 GB, free: 5.688 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003846/0.3944, allocations: 123.4 kB / 1.356 GB, free: 5.566 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004003/0.3948, allocations: 156.7 kB / 1.356 GB, free: 5.414 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003439/0.3951, allocations: 251.3 kB / 1.356 GB, free: 5.168 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.3953, allocations: 34 kB / 1.356 GB, free: 5.133 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001502/0.3954, allocations: 111.7 kB / 1.356 GB, free: 5.023 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01602/0.4114, allocations: 1.995 MB / 1.358 GB, free: 3.559 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.576e-05/0.4115, allocations: 16 kB / 1.358 GB, free: 3.543 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.4117, allocations: 40 kB / 1.358 GB, free: 3.504 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.4118, allocations: 47.81 kB / 1.358 GB, free: 3.457 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.4119, allocations: 87.58 kB / 1.358 GB, free: 3.371 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004565/0.4124, allocations: 223.1 kB / 1.359 GB, free: 3.152 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.4124, allocations: 0 / 1.359 GB, free: 3.152 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.323e-06/0.4124, allocations: 3.938 kB / 1.359 GB, free: 3.148 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.4124, allocations: 0 / 1.359 GB, free: 3.148 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.0009068/0.4133, allocations: 496.7 kB / 1.359 GB, free: 2.621 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.4134, allocations: 8.031 kB / 1.359 GB, free: 2.613 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.263e-05/0.4134, allocations: 50.67 kB / 1.359 GB, free: 2.555 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.098e-05/0.4135, allocations: 20.84 kB / 1.359 GB, free: 2.535 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.4138, allocations: 185.5 kB / 1.359 GB, free: 2.328 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.4138, allocations: 8 kB / 1.359 GB, free: 2.32 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.167e-05/0.4138, allocations: 12 kB / 1.359 GB, free: 2.309 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/0.4141, allocations: 113.2 kB / 1.359 GB, free: 2.188 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.4141, allocations: 4 kB / 1.359 GB, free: 2.184 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.4141, allocations: 7.984 kB / 1.359 GB, free: 2.176 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.4141, allocations: 7.938 kB / 1.359 GB, free: 2.168 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.4142, allocations: 51.88 kB / 1.359 GB, free: 2.117 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000942/0.4152, allocations: 0.5191 MB / 1.36 GB, free: 1.551 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.4153, allocations: 85.33 kB / 1.36 GB, free: 1.449 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.752e-05/0.4154, allocations: 41.7 kB / 1.36 GB, free: 1.402 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.4154, allocations: 3.938 kB / 1.36 GB, free: 1.398 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000328/0.4158, allocations: 128.2 kB / 1.36 GB, free: 1.258 MB / 1.045 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.4158, allocations: 0 / 1.36 GB, free: 1.258 MB / 1.045 GB Notification: Performance of matching and sorting (n=15): time 0.0003744/0.4161, allocations: 167.3 kB / 1.36 GB, free: 1.09 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.906e-05/0.4162, allocations: 85.09 kB / 1.36 GB, free: 0.9883 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/0.4164, allocations: 206.5 kB / 1.361 GB, free: 0.7734 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.785e-05/0.4165, allocations: 29.7 kB / 1.361 GB, free: 0.7383 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.4166, allocations: 124.6 kB / 1.361 GB, free: 0.6133 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.544e-05/0.4166, allocations: 35.73 kB / 1.361 GB, free: 0.5781 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.35e-05/0.4167, allocations: 61.62 kB / 1.361 GB, free: 0.5117 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.4168, allocations: 330.8 kB / 1.361 GB, free: 184 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.877e-05/0.4169, allocations: 27.98 kB / 1.361 GB, free: 156 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002741/0.4172, allocations: 147 kB / 1.361 GB, free: 15.98 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.4174, allocations: 105.9 kB / 1.361 GB, free: 15.85 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.4174, allocations: 7.938 kB / 1.361 GB, free: 15.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002711/0.4176, allocations: 159.4 kB / 1.362 GB, free: 15.68 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.4176, allocations: 4 kB / 1.362 GB, free: 15.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.4177, allocations: 4 kB / 1.362 GB, free: 15.68 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.4177, allocations: 96 / 1.362 GB, free: 15.68 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.4178, allocations: 23.91 kB / 1.362 GB, free: 15.65 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.4178, allocations: 4 kB / 1.362 GB, free: 15.65 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/0.418, allocations: 32.03 kB / 1.362 GB, free: 15.62 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.418, allocations: 8 kB / 1.362 GB, free: 15.61 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.0001561/0.4182, allocations: 148 kB / 1.362 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.421e-05/0.4182, allocations: 15.91 kB / 1.362 GB, free: 15.44 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.115e-05/0.4183, allocations: 21.45 kB / 1.362 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.4183, allocations: 4 kB / 1.362 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.82e-06/0.4183, allocations: 3.938 kB / 1.362 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.4183, allocations: 0 / 1.362 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006727/0.4189, allocations: 433.4 kB / 1.362 GB, free: 14.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.4189, allocations: 0 / 1.362 GB, free: 14.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.004e-05/0.419, allocations: 11.98 kB / 1.362 GB, free: 14.92 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.419, allocations: 3.938 kB / 1.362 GB, free: 14.92 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.419, allocations: 3.938 kB / 1.362 GB, free: 14.91 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.419, allocations: 4 kB / 1.362 GB, free: 14.91 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.419, allocations: 0 / 1.362 GB, free: 14.91 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/0.4193, allocations: 240.1 kB / 1.363 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.965e-05/0.4193, allocations: 11.91 kB / 1.363 GB, free: 14.64 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.046e-05/0.4193, allocations: 11.94 kB / 1.363 GB, free: 14.63 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.4194, allocations: 11.98 kB / 1.363 GB, free: 14.62 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.626e-05/0.4195, allocations: 19.97 kB / 1.363 GB, free: 14.6 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.841e-05/0.4195, allocations: 11.98 kB / 1.363 GB, free: 14.59 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001408/0.4197, allocations: 144.5 kB / 1.363 GB, free: 14.45 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4197, allocations: 0 / 1.363 GB, free: 14.45 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003241/0.42, allocations: 47.89 kB / 1.363 GB, free: 14.4 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.0008521/0.4209, allocations: 0.8361 MB / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002516/0.4211, allocations: 103.3 kB / 1.364 GB, free: 13.46 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4211, allocations: 0 / 1.364 GB, free: 13.46 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.393e-05/0.4212, allocations: 43.98 kB / 1.364 GB, free: 13.42 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004507/0.4217, allocations: 51.88 kB / 1.364 GB, free: 13.37 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/0.424, allocations: 1.934 MB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.4243, allocations: 0.7203 MB / 1.366 GB, free: 10.56 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.724e-05/0.4244, allocations: 21.58 kB / 1.366 GB, free: 10.54 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.4245, allocations: 59.41 kB / 1.366 GB, free: 10.48 MB / 1.061 GB Notification: Performance of SimCode: time 3.51e-07/0.4245, allocations: 3.938 kB / 1.366 GB, free: 10.48 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03533/0.4599, allocations: 5.739 MB / 1.372 GB, free: 4.895 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.55, allocations: 6.312 kB / 1.372 GB, free: 4.891 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_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_PlotterActivationLocalInputFirstOff.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.PlotterActivationLocalInputFirstOff_res.csv. Warning: Get data of variable plotConfiguration.active from file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.csv failed! Error: Could not read variable sca.active in file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.csv. Warning: Get data of variable sca.active from file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.csv failed! Error: Could not read variable scaDel.active in file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.csv. Warning: Get data of variable scaDel.active from file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.847238252000352]