Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.00134/0.00134, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001591/0.001591, allocations: 216.8 kB / 22.24 MB, free: 5.105 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.562/1.562, allocations: 230.6 MB / 256 MB, free: 7.832 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.328/3.328, allocations: 0.49 GB / 0.7951 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.PlotterActivationGlobalInput,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",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.002083/0.002083, allocations: 66.98 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3629, allocations: 176.1 MB / 1.326 GB, free: 1.559 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003245/0.3661, allocations: 1.725 MB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001812/0.3679, allocations: 0.9046 MB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.288e-05/0.368, allocations: 0 / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001853/0.3682, allocations: 35.7 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004107/0.3686, allocations: 119.4 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000409/0.369, allocations: 163.5 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003398/0.3693, allocations: 243.4 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.3695, allocations: 37.92 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.3697, allocations: 111.7 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01411/0.3838, allocations: 1.706 MB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.815e-05/0.3839, allocations: 19.94 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001526/0.384, allocations: 43.98 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.829e-05/0.3841, allocations: 35.89 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001432/0.3842, allocations: 83.62 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004583/0.3847, allocations: 219.1 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3847, allocations: 4 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3847, allocations: 0 / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.3847, allocations: 0 / 1.331 GB, free: 12.56 MB / 1.029 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.0009192/0.3856, allocations: 488.7 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.3857, allocations: 12.03 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.28e-05/0.3857, allocations: 42.73 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.299e-05/0.3858, allocations: 24.8 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003264/0.3861, allocations: 189.5 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.3861, allocations: 12 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.659e-05/0.3862, allocations: 12 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.3864, allocations: 91.36 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.3864, allocations: 0 / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.3864, allocations: 4 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.3864, allocations: 4 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.3865, allocations: 55.91 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008041/0.3873, allocations: 395.6 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004504/0.3878, allocations: 130.6 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.92e-05/0.3879, allocations: 32.84 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.3879, allocations: 4 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003066/0.3882, allocations: 115.2 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.3882, allocations: 0 / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0003771/0.3886, allocations: 172.7 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.3886, allocations: 63.39 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/0.3888, allocations: 199.1 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.065e-05/0.3889, allocations: 33.7 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.389, allocations: 116.5 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.914e-05/0.389, allocations: 39.73 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.3891, allocations: 53.67 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.3893, allocations: 334.8 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.538e-05/0.3894, allocations: 31.98 kB / 1.334 GB, free: 9.758 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003371/0.3897, allocations: 243.1 kB / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.3899, allocations: 99.03 kB / 1.334 GB, free: 9.359 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.3899, allocations: 0 / 1.334 GB, free: 9.359 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002798/0.3902, allocations: 157.4 kB / 1.334 GB, free: 9.199 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.3902, allocations: 8 kB / 1.334 GB, free: 9.191 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.3902, allocations: 4 kB / 1.334 GB, free: 9.188 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.3902, allocations: 0 / 1.334 GB, free: 9.188 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.67e-05/0.3903, allocations: 19.98 kB / 1.334 GB, free: 9.168 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.3903, allocations: 4 kB / 1.334 GB, free: 9.164 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.3905, allocations: 23.92 kB / 1.334 GB, free: 9.141 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.3905, allocations: 4 kB / 1.334 GB, free: 9.137 MB / 1.029 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.0001461/0.3906, allocations: 140 kB / 1.334 GB, free: 8.988 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.483e-05/0.3907, allocations: 23.84 kB / 1.334 GB, free: 8.965 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.356e-05/0.3907, allocations: 25.81 kB / 1.334 GB, free: 8.934 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.3907, allocations: 4 kB / 1.334 GB, free: 8.93 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.3907, allocations: 0 / 1.334 GB, free: 8.93 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3907, allocations: 0 / 1.334 GB, free: 8.93 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007091/0.3915, allocations: 453.3 kB / 1.335 GB, free: 8.438 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3915, allocations: 0 / 1.335 GB, free: 8.438 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.729e-05/0.3915, allocations: 7.938 kB / 1.335 GB, free: 8.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3915, allocations: 0 / 1.335 GB, free: 8.43 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.3915, allocations: 11.88 kB / 1.335 GB, free: 8.418 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.3915, allocations: 4 kB / 1.335 GB, free: 8.414 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3915, allocations: 0 / 1.335 GB, free: 8.414 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.3918, allocations: 235.3 kB / 1.335 GB, free: 8.168 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.929e-05/0.3918, allocations: 11.91 kB / 1.335 GB, free: 8.156 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.974e-05/0.3918, allocations: 15.86 kB / 1.335 GB, free: 8.141 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.392, allocations: 11.98 kB / 1.335 GB, free: 8.129 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.075e-05/0.392, allocations: 23.91 kB / 1.335 GB, free: 8.105 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.812e-05/0.3921, allocations: 8 kB / 1.335 GB, free: 8.098 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001312/0.3922, allocations: 140.5 kB / 1.335 GB, free: 7.961 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3922, allocations: 4 kB / 1.335 GB, free: 7.957 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003166/0.3925, allocations: 43.98 kB / 1.335 GB, free: 7.914 MB / 1.029 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.0008767/0.3934, allocations: 0.838 MB / 1.336 GB, free: 7.078 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002496/0.3936, allocations: 99.77 kB / 1.336 GB, free: 6.98 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.3936, allocations: 4 kB / 1.336 GB, free: 6.977 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.3937, allocations: 39.98 kB / 1.336 GB, free: 6.938 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004515/0.3942, allocations: 75.86 kB / 1.336 GB, free: 6.867 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002309/0.3965, allocations: 1.917 MB / 1.338 GB, free: 4.852 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.3966, allocations: 108.1 kB / 1.338 GB, free: 4.719 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.199e-05/0.3967, allocations: 25.62 kB / 1.338 GB, free: 4.695 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.692e-05/0.3968, allocations: 55.41 kB / 1.338 GB, free: 4.645 MB / 1.029 GB Notification: Performance of SimCode: time 3.81e-07/0.3968, allocations: 0 / 1.338 GB, free: 4.645 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03636/0.4332, allocations: 6.511 MB / 1.345 GB, free: 14.33 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.9, allocations: 15.09 kB / 1.345 GB, free: 14.32 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable plotConfiguration.active in file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv. Warning: Get data of variable plotConfiguration.active from file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv failed! Error: Could not read variable sca.active in file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv. Warning: Get data of variable sca.active from file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv failed! Error: Could not read variable scaDel.active in file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv. Warning: Get data of variable scaDel.active from file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.9702577360149]