Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.001512/0.001512, allocations: 108.6 kB / 16.45 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.001847/0.001847, 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.465/1.465, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.362/3.362, allocations: 0.505 GB / 0.8066 GB, free: 23.06 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.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",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.00215/0.00215, allocations: 70.78 kB / 1.172 GB, free: 17.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3867/0.3888, allocations: 180.2 MB / 1.348 GB, free: 9.973 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.00373/0.3925, allocations: 1.767 MB / 1.349 GB, free: 8.191 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001762/0.3943, allocations: 0.9441 MB / 1.35 GB, free: 7.246 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.47e-05/0.3944, allocations: 3.938 kB / 1.35 GB, free: 7.242 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002114/0.3946, allocations: 31.7 kB / 1.35 GB, free: 7.211 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004006/0.395, allocations: 119.5 kB / 1.351 GB, free: 7.094 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003929/0.3954, allocations: 153.8 kB / 1.351 GB, free: 6.945 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003222/0.3957, allocations: 239.3 kB / 1.351 GB, free: 6.711 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.3958, allocations: 29.89 kB / 1.351 GB, free: 6.68 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.396, allocations: 115.7 kB / 1.351 GB, free: 6.566 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01694/0.4129, allocations: 2.03 MB / 1.353 GB, free: 5.078 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001401/0.4131, allocations: 24 kB / 1.353 GB, free: 5.055 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001931/0.4133, allocations: 39.98 kB / 1.353 GB, free: 5.016 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.4134, allocations: 35.89 kB / 1.353 GB, free: 4.98 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001939/0.4136, allocations: 95.44 kB / 1.353 GB, free: 4.887 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006032/0.4142, allocations: 215.2 kB / 1.353 GB, free: 4.676 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.4142, allocations: 0 / 1.353 GB, free: 4.676 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.685e-06/0.4142, allocations: 0 / 1.353 GB, free: 4.676 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.4142, allocations: 0 / 1.353 GB, free: 4.676 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001096/0.4153, allocations: 0.5642 MB / 1.354 GB, free: 4.051 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.4153, allocations: 11.98 kB / 1.354 GB, free: 4.039 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.3e-05/0.4154, allocations: 46.73 kB / 1.354 GB, free: 3.984 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.4155, allocations: 24.8 kB / 1.354 GB, free: 3.961 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003795/0.4159, allocations: 243.4 kB / 1.354 GB, free: 3.684 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.4159, allocations: 8 kB / 1.354 GB, free: 3.676 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.672e-05/0.4159, allocations: 16 kB / 1.354 GB, free: 3.66 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.4162, allocations: 89.59 kB / 1.354 GB, free: 3.566 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.4162, allocations: 4 kB / 1.354 GB, free: 3.562 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.4162, allocations: 4 kB / 1.354 GB, free: 3.559 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.4162, allocations: 3.984 kB / 1.354 GB, free: 3.555 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/0.4163, allocations: 49.53 kB / 1.354 GB, free: 3.508 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009493/0.4173, allocations: 468.3 kB / 1.355 GB, free: 3 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004701/0.4178, allocations: 122.8 kB / 1.355 GB, free: 2.871 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.025e-05/0.4178, allocations: 32.84 kB / 1.355 GB, free: 2.836 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.4178, allocations: 4 kB / 1.355 GB, free: 2.832 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003239/0.4182, allocations: 123.3 kB / 1.355 GB, free: 2.699 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 1.843e-06/0.4182, allocations: 0 / 1.355 GB, free: 2.699 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.0003937/0.4186, allocations: 164.7 kB / 1.355 GB, free: 2.535 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.4186, allocations: 55.41 kB / 1.355 GB, free: 2.469 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.4189, allocations: 198.5 kB / 1.356 GB, free: 2.262 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.057e-05/0.4189, allocations: 33.7 kB / 1.356 GB, free: 2.223 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.419, allocations: 116.5 kB / 1.356 GB, free: 2.105 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.156e-05/0.419, allocations: 43.73 kB / 1.356 GB, free: 2.062 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.4192, allocations: 61.61 kB / 1.356 GB, free: 1.996 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.4193, allocations: 334.8 kB / 1.356 GB, free: 1.66 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.49e-05/0.4194, allocations: 39.92 kB / 1.356 GB, free: 1.621 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002717/0.4197, allocations: 127.6 kB / 1.356 GB, free: 1.469 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.4198, allocations: 100.1 kB / 1.356 GB, free: 1.355 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4198, allocations: 0 / 1.356 GB, free: 1.355 MB / 1.045 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002945/0.4201, allocations: 163.9 kB / 1.357 GB, free: 1.191 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.4202, allocations: 8 kB / 1.357 GB, free: 1.184 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.4202, allocations: 0 / 1.357 GB, free: 1.184 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.4202, allocations: 4 kB / 1.357 GB, free: 1.18 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.75e-05/0.4203, allocations: 15.94 kB / 1.357 GB, free: 1.164 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.4203, allocations: 0 / 1.357 GB, free: 1.164 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002576/0.4205, allocations: 31.86 kB / 1.357 GB, free: 1.133 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.4205, allocations: 11.98 kB / 1.357 GB, free: 1.121 MB / 1.045 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.0001502/0.4207, allocations: 139.6 kB / 1.357 GB, free: 0.9766 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.593e-05/0.4207, allocations: 19.91 kB / 1.357 GB, free: 0.957 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.912e-05/0.4208, allocations: 21.86 kB / 1.357 GB, free: 0.9297 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.4208, allocations: 0 / 1.357 GB, free: 0.9297 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.4208, allocations: 0 / 1.357 GB, free: 0.9297 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.4208, allocations: 4 kB / 1.357 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007628/0.4216, allocations: 490.2 kB / 1.357 GB, free: 400 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4216, allocations: 3.938 kB / 1.357 GB, free: 396 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.121e-05/0.4216, allocations: 12 kB / 1.357 GB, free: 384 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.4216, allocations: 0 / 1.357 GB, free: 384 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.4216, allocations: 7.938 kB / 1.357 GB, free: 376 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.4216, allocations: 0 / 1.357 GB, free: 376 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4216, allocations: 0 / 1.357 GB, free: 376 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002759/0.4219, allocations: 231.3 kB / 1.358 GB, free: 128 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.167e-05/0.422, allocations: 89.02 kB / 1.358 GB, free: 20 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.813e-05/0.422, allocations: 7.938 kB / 1.358 GB, free: 12 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.4222, allocations: 19.97 kB / 1.358 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.864e-05/0.4222, allocations: 23.92 kB / 1.358 GB, free: 15.97 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.122e-05/0.4223, allocations: 11.98 kB / 1.358 GB, free: 15.96 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001428/0.4224, allocations: 144.2 kB / 1.358 GB, free: 15.82 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4224, allocations: 0 / 1.358 GB, free: 15.82 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003452/0.4228, allocations: 47.94 kB / 1.358 GB, free: 15.77 MB / 1.061 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.0009697/0.4237, allocations: 0.8394 MB / 1.359 GB, free: 14.93 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002774/0.424, allocations: 103.7 kB / 1.359 GB, free: 14.82 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.424, allocations: 0 / 1.359 GB, free: 14.82 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.4241, allocations: 47.92 kB / 1.359 GB, free: 14.78 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004768/0.4246, allocations: 54.31 kB / 1.359 GB, free: 14.73 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002478/0.4271, allocations: 1.883 MB / 1.361 GB, free: 12.74 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004071/0.4275, allocations: 0.7242 MB / 1.361 GB, free: 11.98 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.573e-05/0.4276, allocations: 29.52 kB / 1.361 GB, free: 11.96 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.4277, allocations: 51.42 kB / 1.361 GB, free: 11.91 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.4277, allocations: 0 / 1.361 GB, free: 11.91 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03486/0.4625, allocations: 5.623 MB / 1.367 GB, free: 6.457 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.662/9.125, allocations: 9.766 kB / 1.367 GB, free: 6.453 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_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_PlotterActivationGlobalInputFirstOff.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.PlotterActivationGlobalInputFirstOff_res.csv. Warning: Get data of variable plotConfiguration.active from file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv failed! Error: Could not read variable sca.active in file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv. Warning: Get data of variable sca.active from file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv failed! Error: Could not read variable scaDel.active in file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv. Warning: Get data of variable scaDel.active from file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.109341487986967]