Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001756/0.001756, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002042/0.002042, allocations: 222.1 kB / 23.05 MB, free: 5.074 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.594/1.594, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.919/2.919, allocations: 476.7 MB / 0.7715 GB, free: 4.301 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",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.002073/0.002073, allocations: 68.12 kB / 1.118 GB, free: 39.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4286/0.4307, allocations: 169.9 MB / 1.284 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.004301/0.435, allocations: 1.788 MB / 1.286 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002138/0.4371, allocations: 0.9552 MB / 1.287 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000167/0.4373, allocations: 0 / 1.287 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002879/0.4376, allocations: 31.73 kB / 1.287 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000516/0.4381, allocations: 119.4 kB / 1.287 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004825/0.4386, allocations: 153.5 kB / 1.287 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004816/0.4391, allocations: 255.3 kB / 1.287 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.4392, allocations: 25.31 kB / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002409/0.4394, allocations: 111.7 kB / 1.287 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01745/0.4569, allocations: 2.045 MB / 1.289 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001337/0.457, allocations: 16 kB / 1.289 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/0.4572, allocations: 35.98 kB / 1.29 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.4574, allocations: 39.84 kB / 1.29 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000198/0.4576, allocations: 91.56 kB / 1.29 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006183/0.4582, allocations: 219.1 kB / 1.29 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.4582, allocations: 0 / 1.29 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.455e-06/0.4582, allocations: 0 / 1.29 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.4582, allocations: 4 kB / 1.29 GB, free: 6.301 MB / 0.9825 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.001239/0.4594, allocations: 492.7 kB / 1.29 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.4595, allocations: 12.03 kB / 1.29 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.082e-05/0.4595, allocations: 192 / 1.29 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.318e-05/0.4596, allocations: 42.73 kB / 1.29 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.4597, allocations: 24.8 kB / 1.29 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003769/0.46, allocations: 189.2 kB / 1.291 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.975e-05/0.4601, allocations: 11.95 kB / 1.291 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.484e-05/0.4601, allocations: 19.98 kB / 1.291 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000243/0.4604, allocations: 89.66 kB / 1.291 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.4604, allocations: 4 kB / 1.291 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.4604, allocations: 0 / 1.291 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.4604, allocations: 0 / 1.291 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001472/0.4606, allocations: 55.91 kB / 1.291 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/0.4617, allocations: 439.5 kB / 1.291 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005757/0.4622, allocations: 130.7 kB / 1.291 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.274e-05/0.4623, allocations: 36.8 kB / 1.291 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.4624, allocations: 3.984 kB / 1.291 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004233/0.4628, allocations: 111.3 kB / 1.291 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 2.144e-06/0.4628, allocations: 3.938 kB / 1.291 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0004787/0.4633, allocations: 169.6 kB / 1.292 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.551e-05/0.4633, allocations: 59.41 kB / 1.292 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002675/0.4636, allocations: 192.4 kB / 1.292 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.554e-05/0.4636, allocations: 33.7 kB / 1.292 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.4638, allocations: 128.4 kB / 1.292 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.892e-05/0.4638, allocations: 35.78 kB / 1.292 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.4639, allocations: 57.67 kB / 1.292 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.4641, allocations: 326.8 kB / 1.292 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.627e-05/0.4642, allocations: 35.92 kB / 1.292 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002876/0.4645, allocations: 133.9 kB / 1.293 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.4647, allocations: 104.1 kB / 1.293 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4647, allocations: 0 / 1.293 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003184/0.465, allocations: 151.9 kB / 1.293 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.465, allocations: 7.938 kB / 1.293 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.465, allocations: 0 / 1.293 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.465, allocations: 4 kB / 1.293 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.305e-05/0.4651, allocations: 12 kB / 1.293 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.4651, allocations: 3.984 kB / 1.293 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002309/0.4653, allocations: 32 kB / 1.293 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.4654, allocations: 11.94 kB / 1.293 GB, free: 2.949 MB / 0.9825 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.0001855/0.4656, allocations: 135.5 kB / 1.293 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.8e-05/0.4656, allocations: 19.86 kB / 1.293 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.758e-05/0.4657, allocations: 21.8 kB / 1.293 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.4657, allocations: 0 / 1.293 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.4657, allocations: 4 kB / 1.293 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.4657, allocations: 0 / 1.293 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008466/0.4665, allocations: 465.2 kB / 1.293 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.4665, allocations: 3.984 kB / 1.293 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.243e-05/0.4666, allocations: 11.94 kB / 1.294 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.291e-06/0.4666, allocations: 3.938 kB / 1.294 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.4666, allocations: 4 kB / 1.294 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.4666, allocations: 3.938 kB / 1.294 GB, free: 2.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.4666, allocations: 0 / 1.294 GB, free: 2.23 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00032/0.4669, allocations: 234.2 kB / 1.294 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.189e-05/0.4669, allocations: 23.8 kB / 1.294 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.51e-05/0.467, allocations: 7.938 kB / 1.294 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.4671, allocations: 15.97 kB / 1.294 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.825e-05/0.4672, allocations: 19.97 kB / 1.294 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.889e-05/0.4672, allocations: 8 kB / 1.294 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001459/0.4674, allocations: 144 kB / 1.294 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4674, allocations: 4 kB / 1.294 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003409/0.4677, allocations: 51.92 kB / 1.294 GB, free: 1.719 MB / 0.9825 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.0009682/0.4687, allocations: 0.8303 MB / 1.295 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002951/0.469, allocations: 102.8 kB / 1.295 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.469, allocations: 256 / 1.295 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.4691, allocations: 47.98 kB / 1.295 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004558/0.4695, allocations: 55.83 kB / 1.295 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002719/0.4723, allocations: 1.894 MB / 1.297 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004159/0.4727, allocations: 0.7203 MB / 1.298 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001155/0.4728, allocations: 25.62 kB / 1.298 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.4729, allocations: 55.41 kB / 1.298 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of SimCode: time 1.022e-06/0.4729, allocations: 0 / 1.298 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03203/0.5049, allocations: 5.84 MB / 1.303 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/12.03, allocations: 9.625 kB / 1.303 GB, free: 8.215 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.296886258001905] Failed to read output from testmodel.py, exit status != 0: 12.895609134051483 12.214125019 11.752575056 Calling exit ...