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.001223/0.001223, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001373/0.001373, allocations: 217.5 kB / 23.04 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.278/3.278, allocations: 0.5003 GB / 0.8061 GB, free: 26.77 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_latest_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.001974/0.001974, allocations: 69.53 kB / 1.171 GB, free: 19.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4123/0.4143, allocations: 179 MB / 1.345 GB, free: 492 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003719/0.418, allocations: 1.773 MB / 1.347 GB, free: 14.69 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001887/0.4199, allocations: 0.9514 MB / 1.348 GB, free: 13.74 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.42, allocations: 3.938 kB / 1.348 GB, free: 13.73 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002138/0.4202, allocations: 31.7 kB / 1.348 GB, free: 13.7 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004314/0.4206, allocations: 123.4 kB / 1.348 GB, free: 13.58 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000418/0.4211, allocations: 154.7 kB / 1.348 GB, free: 13.43 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000353/0.4214, allocations: 247.3 kB / 1.349 GB, free: 13.19 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.4216, allocations: 26.02 kB / 1.349 GB, free: 13.16 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/0.4217, allocations: 115.7 kB / 1.349 GB, free: 13.05 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01649/0.4382, allocations: 2.03 MB / 1.351 GB, free: 11.56 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.144e-05/0.4383, allocations: 20 kB / 1.351 GB, free: 11.54 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.4384, allocations: 39.98 kB / 1.351 GB, free: 11.5 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.068e-05/0.4385, allocations: 47.77 kB / 1.351 GB, free: 11.45 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001439/0.4387, allocations: 87.56 kB / 1.351 GB, free: 11.37 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004525/0.4391, allocations: 215.2 kB / 1.351 GB, free: 11.16 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.4391, allocations: 0 / 1.351 GB, free: 11.16 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4391, allocations: 4 kB / 1.351 GB, free: 11.15 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.4391, allocations: 4 kB / 1.351 GB, free: 11.15 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.0009442/0.4401, allocations: 492.6 kB / 1.351 GB, free: 10.62 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.4401, allocations: 8.031 kB / 1.352 GB, free: 10.62 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.494e-05/0.4402, allocations: 8.141 kB / 1.352 GB, free: 10.61 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.847e-05/0.4402, allocations: 46.73 kB / 1.352 GB, free: 10.55 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.541e-05/0.4403, allocations: 20.84 kB / 1.352 GB, free: 10.54 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003092/0.4406, allocations: 189.4 kB / 1.352 GB, free: 10.32 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.4406, allocations: 8 kB / 1.352 GB, free: 10.32 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.746e-05/0.4406, allocations: 16 kB / 1.352 GB, free: 10.3 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.4409, allocations: 95.12 kB / 1.352 GB, free: 10.2 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.4409, allocations: 0 / 1.352 GB, free: 10.2 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.4409, allocations: 8 kB / 1.352 GB, free: 10.2 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.4409, allocations: 0 / 1.352 GB, free: 10.2 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.441, allocations: 47.97 kB / 1.352 GB, free: 10.15 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008593/0.4419, allocations: 435.4 kB / 1.352 GB, free: 9.68 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004394/0.4423, allocations: 130.8 kB / 1.352 GB, free: 9.543 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.781e-05/0.4424, allocations: 32.78 kB / 1.352 GB, free: 9.508 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.4424, allocations: 11.92 kB / 1.353 GB, free: 9.496 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000358/0.4428, allocations: 107.5 kB / 1.353 GB, free: 9.379 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 1.784e-06/0.4428, allocations: 0 / 1.353 GB, free: 9.379 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.0003872/0.4432, allocations: 168.4 kB / 1.353 GB, free: 9.211 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.4432, allocations: 63.34 kB / 1.353 GB, free: 9.137 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.4434, allocations: 202.5 kB / 1.353 GB, free: 8.926 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.486e-05/0.4435, allocations: 33.7 kB / 1.353 GB, free: 8.887 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.4436, allocations: 120.5 kB / 1.353 GB, free: 8.766 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.2e-05/0.4436, allocations: 35.73 kB / 1.353 GB, free: 8.73 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.4437, allocations: 57.67 kB / 1.353 GB, free: 8.668 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.4439, allocations: 330.8 kB / 1.354 GB, free: 8.336 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.697e-05/0.444, allocations: 35.98 kB / 1.354 GB, free: 8.301 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002651/0.4442, allocations: 131 kB / 1.354 GB, free: 8.148 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.4444, allocations: 102 kB / 1.354 GB, free: 8.035 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.4444, allocations: 4 kB / 1.354 GB, free: 8.031 MB / 1.045 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002839/0.4447, allocations: 155.6 kB / 1.354 GB, free: 7.875 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.4447, allocations: 8 kB / 1.354 GB, free: 7.867 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.4447, allocations: 0 / 1.354 GB, free: 7.867 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.4447, allocations: 4 kB / 1.354 GB, free: 7.863 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.522e-05/0.4448, allocations: 15.94 kB / 1.354 GB, free: 7.848 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.4448, allocations: 4.125 kB / 1.354 GB, free: 7.844 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/0.4451, allocations: 31.86 kB / 1.354 GB, free: 7.812 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.4451, allocations: 4 kB / 1.354 GB, free: 7.809 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.0001603/0.4452, allocations: 144.1 kB / 1.354 GB, free: 7.656 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.428e-05/0.4453, allocations: 15.91 kB / 1.354 GB, free: 7.641 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.606e-05/0.4453, allocations: 21.8 kB / 1.354 GB, free: 7.617 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.4453, allocations: 0 / 1.354 GB, free: 7.617 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.4453, allocations: 0 / 1.354 GB, free: 7.617 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.4453, allocations: 4.047 kB / 1.354 GB, free: 7.613 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000739/0.4461, allocations: 473.2 kB / 1.355 GB, free: 7.102 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4461, allocations: 0 / 1.355 GB, free: 7.102 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.732e-05/0.4461, allocations: 7.984 kB / 1.355 GB, free: 7.094 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.4461, allocations: 0 / 1.355 GB, free: 7.094 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.4461, allocations: 3.938 kB / 1.355 GB, free: 7.09 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.4461, allocations: 4 kB / 1.355 GB, free: 7.086 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4461, allocations: 0 / 1.355 GB, free: 7.086 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003076/0.4464, allocations: 246.2 kB / 1.355 GB, free: 6.832 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.953e-05/0.4465, allocations: 15.84 kB / 1.355 GB, free: 6.816 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.918e-05/0.4465, allocations: 3.938 kB / 1.355 GB, free: 6.812 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.4466, allocations: 15.98 kB / 1.355 GB, free: 6.797 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.295e-05/0.4467, allocations: 27.89 kB / 1.355 GB, free: 6.77 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.391e-05/0.4467, allocations: 4 kB / 1.355 GB, free: 6.766 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001514/0.4469, allocations: 152.2 kB / 1.355 GB, free: 6.617 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4469, allocations: 0 / 1.355 GB, free: 6.617 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003154/0.4472, allocations: 43.94 kB / 1.355 GB, free: 6.574 MB / 1.045 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.0009319/0.4481, allocations: 0.8386 MB / 1.356 GB, free: 5.73 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002587/0.4484, allocations: 95.81 kB / 1.356 GB, free: 5.637 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4484, allocations: 4.25 kB / 1.356 GB, free: 5.633 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.4485, allocations: 51.91 kB / 1.356 GB, free: 5.582 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004487/0.4489, allocations: 57.33 kB / 1.356 GB, free: 5.531 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002416/0.4513, allocations: 1.886 MB / 1.358 GB, free: 3.535 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/0.4517, allocations: 0.7242 MB / 1.359 GB, free: 2.785 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001048/0.4518, allocations: 25.62 kB / 1.359 GB, free: 2.762 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.4519, allocations: 59.41 kB / 1.359 GB, free: 2.703 MB / 1.045 GB Notification: Performance of SimCode: time 1.133e-06/0.4519, allocations: 0 / 1.359 GB, free: 2.703 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03071/0.4827, allocations: 5.817 MB / 1.365 GB, free: 13.07 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.17, allocations: 18.62 kB / 1.365 GB, free: 13.06 MB / 1.061 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.020855641982052] Failed to read output from testmodel.py, exit status != 0: 12.341883184970357 12.372998212 11.927739175 Calling exit ...