Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001325/0.001325, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.001467/0.001467, allocations: 215 kB / 20.13 MB, free: 2.949 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.506/1.506, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.063/3.063, allocations: 0.5003 GB / 0.8026 GB, free: 6.723 MB / 0.6387 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.PlotterActivationGlobalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="cs",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.002071/0.002071, allocations: 63.91 kB / 1.165 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.033/1.036, allocations: 178.9 MB / 1.34 GB, free: 16.28 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002712/1.038, allocations: 1.762 MB / 1.342 GB, free: 15.04 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001378/1.04, allocations: 0.9385 MB / 1.343 GB, free: 14.41 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.314e-05/1.04, allocations: 1.125 kB / 1.343 GB, free: 14.41 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000175/1.04, allocations: 36.44 kB / 1.343 GB, free: 14.39 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003478/1.04, allocations: 117.4 kB / 1.343 GB, free: 14.32 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003551/1.041, allocations: 154.7 kB / 1.343 GB, free: 14.25 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002711/1.041, allocations: 243.6 kB / 1.343 GB, free: 14.15 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/1.041, allocations: 25.56 kB / 1.343 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/1.041, allocations: 113.2 kB / 1.343 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01363/1.055, allocations: 1.715 MB / 1.345 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.000113/1.055, allocations: 16.91 kB / 1.345 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001506/1.055, allocations: 42.92 kB / 1.345 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.053e-05/1.055, allocations: 40.64 kB / 1.345 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001387/1.055, allocations: 91.09 kB / 1.345 GB, free: 13.53 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005003/1.056, allocations: 214.2 kB / 1.345 GB, free: 13.45 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/1.056, allocations: 4 kB / 1.345 GB, free: 13.44 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.904e-06/1.056, allocations: 1.938 kB / 1.345 GB, free: 13.44 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.735e-06/1.056, allocations: 0 / 1.345 GB, free: 13.44 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009044/1.057, allocations: 0.5578 MB / 1.346 GB, free: 12.93 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/1.057, allocations: 9.625 kB / 1.346 GB, free: 12.93 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.645e-05/1.057, allocations: 6.891 kB / 1.346 GB, free: 12.93 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.014e-05/1.057, allocations: 48.25 kB / 1.346 GB, free: 12.88 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.649e-05/1.057, allocations: 20.5 kB / 1.346 GB, free: 12.87 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002944/1.057, allocations: 242.5 kB / 1.346 GB, free: 12.64 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/1.057, allocations: 9.5 kB / 1.346 GB, free: 12.63 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.077e-05/1.057, allocations: 19.59 kB / 1.346 GB, free: 12.62 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/1.057, allocations: 93.58 kB / 1.346 GB, free: 12.57 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/1.057, allocations: 3.938 kB / 1.346 GB, free: 12.57 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/1.057, allocations: 2.031 kB / 1.346 GB, free: 12.57 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/1.057, allocations: 2.75 kB / 1.346 GB, free: 12.57 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/1.057, allocations: 51.69 kB / 1.347 GB, free: 12.55 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000787/1.058, allocations: 466.9 kB / 1.347 GB, free: 12.21 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004448/1.059, allocations: 126.3 kB / 1.347 GB, free: 12.16 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.183e-05/1.059, allocations: 34.91 kB / 1.347 GB, free: 12.14 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/1.059, allocations: 5.984 kB / 1.347 GB, free: 12.13 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002641/1.059, allocations: 113.2 kB / 1.347 GB, free: 12.06 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.844e-06/1.059, allocations: 7.938 kB / 1.347 GB, free: 12.05 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.0003759/1.059, allocations: 162.1 kB / 1.347 GB, free: 11.98 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/1.059, allocations: 54.58 kB / 1.347 GB, free: 11.92 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/1.06, allocations: 204.4 kB / 1.348 GB, free: 11.78 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/1.06, allocations: 33.05 kB / 1.348 GB, free: 11.74 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.93e-05/1.06, allocations: 123.1 kB / 1.348 GB, free: 11.63 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.089e-05/1.06, allocations: 35.38 kB / 1.348 GB, free: 11.61 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.884e-05/1.06, allocations: 54.97 kB / 1.348 GB, free: 11.58 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.684e-05/1.06, allocations: 333.5 kB / 1.348 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.037e-05/1.06, allocations: 35.02 kB / 1.348 GB, free: 11.24 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002422/1.06, allocations: 127.5 kB / 1.348 GB, free: 11.14 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/1.06, allocations: 103.3 kB / 1.348 GB, free: 11.07 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/1.06, allocations: 1.188 kB / 1.348 GB, free: 11.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002765/1.061, allocations: 155.9 kB / 1.349 GB, free: 10.99 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/1.061, allocations: 5.562 kB / 1.349 GB, free: 10.99 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/1.061, allocations: 1.25 kB / 1.349 GB, free: 10.99 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/1.061, allocations: 2.281 kB / 1.349 GB, free: 10.99 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.705e-05/1.061, allocations: 21.81 kB / 1.349 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/1.061, allocations: 6.438 kB / 1.349 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002382/1.061, allocations: 29.98 kB / 1.349 GB, free: 10.97 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/1.061, allocations: 9.125 kB / 1.349 GB, free: 10.96 MB / 1.061 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.0001037/1.061, allocations: 137.8 kB / 1.349 GB, free: 10.83 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.457e-05/1.061, allocations: 17.52 kB / 1.349 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.462e-05/1.061, allocations: 19.22 kB / 1.349 GB, free: 10.81 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/1.061, allocations: 5.938 kB / 1.349 GB, free: 10.81 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1.061, allocations: 0 / 1.349 GB, free: 10.81 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/1.061, allocations: 2.5 kB / 1.349 GB, free: 10.81 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000633/1.062, allocations: 490.3 kB / 1.349 GB, free: 10.44 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/1.062, allocations: 3.938 kB / 1.349 GB, free: 10.44 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.72e-05/1.062, allocations: 13.38 kB / 1.349 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/1.062, allocations: 1.469 kB / 1.349 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/1.062, allocations: 4.5 kB / 1.349 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/1.062, allocations: 6.016 kB / 1.349 GB, free: 10.42 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/1.062, allocations: 3.984 kB / 1.349 GB, free: 10.42 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002069/1.062, allocations: 237.1 kB / 1.35 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.64e-05/1.062, allocations: 90.55 kB / 1.35 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/1.062, allocations: 9.844 kB / 1.35 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/1.062, allocations: 11.41 kB / 1.35 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.747e-05/1.062, allocations: 20.59 kB / 1.35 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.49e-05/1.062, allocations: 15.23 kB / 1.35 GB, free: 10.12 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001099/1.063, allocations: 143.2 kB / 1.35 GB, free: 10.03 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.063, allocations: 0 / 1.35 GB, free: 10.03 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000332/1.063, allocations: 49.91 kB / 1.35 GB, free: 10.02 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.0006597/1.064, allocations: 0.8202 MB / 1.351 GB, free: 9.301 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00025/1.064, allocations: 109.5 kB / 1.351 GB, free: 9.262 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.064, allocations: 0 / 1.351 GB, free: 9.262 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.36e-05/1.064, allocations: 49.42 kB / 1.351 GB, free: 9.246 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000439/1.064, allocations: 59.38 kB / 1.351 GB, free: 9.23 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/1.066, allocations: 1.912 MB / 1.353 GB, free: 7.727 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00016/1.066, allocations: 0.7276 MB / 1.353 GB, free: 7.023 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001012/1.067, allocations: 25.11 kB / 1.353 GB, free: 7.016 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.927e-05/1.067, allocations: 56.39 kB / 1.354 GB, free: 6.98 MB / 1.061 GB Notification: Performance of SimCode: time 3.5e-07/1.067, allocations: 0 / 1.354 GB, free: 6.98 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02704/1.094, allocations: 5.654 MB / 1.359 GB, free: 6.238 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.917/10.01, allocations: 14.94 kB / 1.359 GB, free: 6.227 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.563814551045652] Failed to read output from testmodel.py, exit status != 0: 10.143483759020455 10.163939765 9.104263463 Calling exit ...