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.001954/0.001954, allocations: 108.9 kB / 16.46 MB, free: 6.508 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.002379/0.002379, allocations: 216.2 kB / 19.43 MB, free: 3.648 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.689/1.689, allocations: 230.6 MB / 252.8 MB, free: 9.09 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.39/3.39, allocations: 0.505 GB / 0.8066 GB, free: 23.05 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.003027/0.003027, allocations: 68.16 kB / 1.172 GB, free: 17.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.3985, allocations: 180.2 MB / 1.348 GB, free: 9.949 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003546/0.4021, allocations: 1.763 MB / 1.349 GB, free: 8.172 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001765/0.4038, allocations: 0.9402 MB / 1.35 GB, free: 7.23 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.14e-05/0.4039, allocations: 7.938 kB / 1.35 GB, free: 7.223 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002015/0.4041, allocations: 19.73 kB / 1.35 GB, free: 7.203 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004048/0.4045, allocations: 127.4 kB / 1.351 GB, free: 7.078 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004139/0.4049, allocations: 155.7 kB / 1.351 GB, free: 6.926 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003221/0.4053, allocations: 239.3 kB / 1.351 GB, free: 6.691 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.4054, allocations: 29.95 kB / 1.351 GB, free: 6.66 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.4056, allocations: 115.7 kB / 1.351 GB, free: 6.547 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01595/0.4215, allocations: 2.001 MB / 1.353 GB, free: 5.078 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001137/0.4216, allocations: 20 kB / 1.353 GB, free: 5.059 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000177/0.4218, allocations: 39.98 kB / 1.353 GB, free: 5.02 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.859e-05/0.4219, allocations: 39.84 kB / 1.353 GB, free: 4.98 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001786/0.4221, allocations: 91.56 kB / 1.353 GB, free: 4.891 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005586/0.4226, allocations: 219.1 kB / 1.353 GB, free: 4.676 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.4226, allocations: 0 / 1.353 GB, free: 4.676 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.452e-06/0.4226, allocations: 0 / 1.353 GB, free: 4.676 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.306e-05/0.4227, 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001191/0.4239, allocations: 0.5681 MB / 1.354 GB, free: 4.047 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/0.4239, allocations: 11.98 kB / 1.354 GB, free: 4.035 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.003e-05/0.424, allocations: 38.75 kB / 1.354 GB, free: 3.988 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.814e-05/0.4241, allocations: 20.84 kB / 1.354 GB, free: 3.969 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000419/0.4245, allocations: 251.3 kB / 1.354 GB, free: 3.684 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.4245, allocations: 11.94 kB / 1.354 GB, free: 3.672 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.215e-05/0.4245, allocations: 16 kB / 1.354 GB, free: 3.656 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/0.4248, allocations: 115.4 kB / 1.354 GB, free: 3.531 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.4248, allocations: 3.938 kB / 1.354 GB, free: 3.527 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.4248, allocations: 3.984 kB / 1.354 GB, free: 3.523 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.4248, allocations: 4 kB / 1.354 GB, free: 3.52 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.425, allocations: 55.88 kB / 1.354 GB, free: 3.465 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009995/0.426, allocations: 0.5435 MB / 1.355 GB, free: 2.867 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.4261, allocations: 89.25 kB / 1.355 GB, free: 2.762 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.045e-05/0.4262, allocations: 37.77 kB / 1.355 GB, free: 2.719 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.4262, allocations: 3.938 kB / 1.355 GB, free: 2.715 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003433/0.4266, allocations: 119.9 kB / 1.355 GB, free: 2.582 MB / 1.045 GB Notification: Performance of pre-optimization done (n=15): time 1.663e-06/0.4266, allocations: 0 / 1.355 GB, free: 2.582 MB / 1.045 GB Notification: Performance of matching and sorting (n=15): time 0.0004022/0.427, allocations: 165.5 kB / 1.355 GB, free: 2.414 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.137e-05/0.4271, allocations: 85.11 kB / 1.355 GB, free: 2.312 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002372/0.4273, allocations: 202.5 kB / 1.356 GB, free: 2.102 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.1e-05/0.4273, allocations: 41.77 kB / 1.356 GB, free: 2.055 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.4274, allocations: 124.4 kB / 1.356 GB, free: 1.93 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.609e-05/0.4275, allocations: 39.73 kB / 1.356 GB, free: 1.891 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.4276, allocations: 57.67 kB / 1.356 GB, free: 1.828 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.4278, allocations: 326.8 kB / 1.356 GB, free: 1.5 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.971e-05/0.4279, allocations: 31.98 kB / 1.356 GB, free: 1.469 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002828/0.4281, allocations: 143 kB / 1.356 GB, free: 1.297 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/0.4283, allocations: 112.4 kB / 1.356 GB, free: 1.168 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.4283, allocations: 4 kB / 1.357 GB, free: 1.164 MB / 1.045 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002955/0.4286, allocations: 165.4 kB / 1.357 GB, free: 0.9961 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.4287, allocations: 4 kB / 1.357 GB, free: 0.9922 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.4287, allocations: 4 kB / 1.357 GB, free: 0.9883 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.4287, allocations: 4 kB / 1.357 GB, free: 0.9844 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.4288, allocations: 15.94 kB / 1.357 GB, free: 0.9688 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.4288, allocations: 12.14 kB / 1.357 GB, free: 0.957 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000248/0.429, allocations: 27.97 kB / 1.357 GB, free: 0.9297 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.4291, allocations: 8 kB / 1.357 GB, free: 0.9219 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.0001554/0.4292, allocations: 143.5 kB / 1.357 GB, free: 0.7734 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.913e-05/0.4293, allocations: 15.91 kB / 1.357 GB, free: 0.7578 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.235e-05/0.4293, allocations: 21.52 kB / 1.357 GB, free: 0.7305 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.4293, allocations: 4 kB / 1.357 GB, free: 0.7266 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4293, allocations: 0 / 1.357 GB, free: 0.7266 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.4293, allocations: 4 kB / 1.357 GB, free: 0.7227 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000678/0.43, allocations: 462.3 kB / 1.357 GB, free: 220 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.43, allocations: 3.938 kB / 1.357 GB, free: 216 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.61e-05/0.43, allocations: 4 kB / 1.357 GB, free: 212 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.43, allocations: 0 / 1.357 GB, free: 212 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.4301, allocations: 7.922 kB / 1.357 GB, free: 204 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.4301, allocations: 4 kB / 1.357 GB, free: 200 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4301, allocations: 3.938 kB / 1.357 GB, free: 196 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002983/0.4304, allocations: 237.1 kB / 1.358 GB, free: 15.94 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.265e-05/0.4304, allocations: 97 kB / 1.358 GB, free: 15.83 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.4305, allocations: 3.938 kB / 1.358 GB, free: 15.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.4306, allocations: 11.98 kB / 1.358 GB, free: 15.81 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.336e-05/0.4307, allocations: 19.97 kB / 1.358 GB, free: 15.79 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-05/0.4307, allocations: 12 kB / 1.358 GB, free: 15.78 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001459/0.4308, allocations: 144.2 kB / 1.358 GB, free: 15.64 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4308, allocations: 0 / 1.358 GB, free: 15.64 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003345/0.4312, allocations: 47.94 kB / 1.358 GB, free: 15.59 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.0009459/0.4321, allocations: 0.849 MB / 1.359 GB, free: 14.74 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002609/0.4324, allocations: 99.84 kB / 1.359 GB, free: 14.64 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4324, allocations: 0 / 1.359 GB, free: 14.64 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.4325, allocations: 47.91 kB / 1.359 GB, free: 14.59 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000449/0.4329, allocations: 51.17 kB / 1.359 GB, free: 14.55 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002409/0.4354, allocations: 1.918 MB / 1.361 GB, free: 12.5 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/0.4358, allocations: 0.7203 MB / 1.362 GB, free: 11.75 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.833e-05/0.4359, allocations: 29.53 kB / 1.362 GB, free: 11.73 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.436, allocations: 55.36 kB / 1.362 GB, free: 11.67 MB / 1.061 GB Notification: Performance of SimCode: time 3.81e-07/0.436, allocations: 0 / 1.362 GB, free: 11.67 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03749/0.4735, allocations: 5.564 MB / 1.367 GB, free: 6.281 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.444/8.917, allocations: 8.156 kB / 1.367 GB, free: 6.277 MB / 1.061 GB " [Timeout remaining time 291] (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: 16.339558489155024]