Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.001902/0.001902, allocations: 115.4 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.002376/0.002376, allocations: 210.2 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.525/1.525, 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.065/3.065, allocations: 0.5003 GB / 0.8026 GB, free: 6.738 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.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",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.002035/0.002035, allocations: 68.17 kB / 1.165 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.077/1.079, allocations: 178.9 MB / 1.34 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002086/1.081, allocations: 0.7587 MB / 1.341 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001535/1.083, allocations: 1.105 MB / 1.342 GB, free: 12.31 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.33e-05/1.083, allocations: 5.5 kB / 1.342 GB, free: 12.3 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.299e-05/1.083, allocations: 3.938 kB / 1.342 GB, free: 12.3 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.371e-05/1.083, allocations: 13.31 kB / 1.342 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003149/1.083, allocations: 53.41 kB / 1.342 GB, free: 12.25 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001366/1.083, allocations: 80.06 kB / 1.342 GB, free: 12.2 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/1.083, allocations: 13.36 kB / 1.342 GB, free: 12.19 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.258e-05/1.084, allocations: 32.75 kB / 1.342 GB, free: 12.17 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.439e-05/1.084, allocations: 31.88 kB / 1.342 GB, free: 12.14 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/1.084, allocations: 5.938 kB / 1.342 GB, free: 12.14 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.624e-05/1.084, allocations: 20.27 kB / 1.342 GB, free: 12.14 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.043e-05/1.084, allocations: 11.25 kB / 1.342 GB, free: 12.13 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.807e-05/1.084, allocations: 39.38 kB / 1.342 GB, free: 12.1 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001614/1.084, allocations: 79.92 kB / 1.342 GB, free: 12.04 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/1.084, allocations: 4 kB / 1.342 GB, free: 12.04 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.677e-06/1.084, allocations: 3.984 kB / 1.342 GB, free: 12.03 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.681e-06/1.084, allocations: 4.844 kB / 1.342 GB, free: 12.03 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006134/1.085, allocations: 377.7 kB / 1.343 GB, free: 11.64 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/1.085, allocations: 9.469 kB / 1.343 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.728e-05/1.085, allocations: 1.312 kB / 1.343 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.789e-05/1.085, allocations: 35.81 kB / 1.343 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.44e-05/1.085, allocations: 8.484 kB / 1.343 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/1.085, allocations: 176.8 kB / 1.343 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/1.085, allocations: 2.656 kB / 1.343 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/1.085, allocations: 8.406 kB / 1.343 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/1.085, allocations: 76.64 kB / 1.343 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/1.085, allocations: 0 / 1.343 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/1.085, allocations: 1.531 kB / 1.343 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/1.085, allocations: 1.375 kB / 1.343 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001875/1.085, allocations: 43.73 kB / 1.343 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006728/1.086, allocations: 324.3 kB / 1.343 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/1.086, allocations: 50.48 kB / 1.343 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/1.086, allocations: 29.67 kB / 1.343 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/1.086, allocations: 5.281 kB / 1.343 GB, free: 10.9 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002328/1.087, allocations: 82.17 kB / 1.344 GB, free: 10.83 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/1.087, allocations: 0 / 1.344 GB, free: 10.83 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0004335/1.087, allocations: 128.8 kB / 1.344 GB, free: 10.75 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/1.087, allocations: 52.78 kB / 1.344 GB, free: 10.69 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/1.087, allocations: 133 kB / 1.344 GB, free: 10.57 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/1.087, allocations: 31.11 kB / 1.344 GB, free: 10.53 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.151e-05/1.087, allocations: 94.25 kB / 1.344 GB, free: 10.44 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/1.087, allocations: 19.14 kB / 1.344 GB, free: 10.42 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.712e-05/1.087, allocations: 27.08 kB / 1.344 GB, free: 10.4 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001564/1.087, allocations: 321.2 kB / 1.344 GB, free: 10.08 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/1.088, allocations: 31.22 kB / 1.344 GB, free: 10.06 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/1.088, allocations: 73.98 kB / 1.344 GB, free: 9.988 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002513/1.088, allocations: 111.3 kB / 1.345 GB, free: 9.895 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/1.088, allocations: 5.406 kB / 1.345 GB, free: 9.891 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003232/1.088, allocations: 128.5 kB / 1.345 GB, free: 9.812 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/1.088, allocations: 5.781 kB / 1.345 GB, free: 9.812 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/1.088, allocations: 2.344 kB / 1.345 GB, free: 9.812 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/1.088, allocations: 2.844 kB / 1.345 GB, free: 9.812 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/1.088, allocations: 27.72 kB / 1.345 GB, free: 9.797 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/1.088, allocations: 2.906 kB / 1.345 GB, free: 9.797 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.826e-05/1.089, allocations: 13.36 kB / 1.345 GB, free: 9.789 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/1.089, allocations: 13.14 kB / 1.345 GB, free: 9.781 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001021/1.089, allocations: 126.5 kB / 1.345 GB, free: 9.652 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.321e-05/1.089, allocations: 2.406 kB / 1.345 GB, free: 9.652 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.829e-05/1.089, allocations: 10.59 kB / 1.345 GB, free: 9.645 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/1.089, allocations: 1.344 kB / 1.345 GB, free: 9.645 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/1.089, allocations: 0 / 1.345 GB, free: 9.645 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/1.089, allocations: 0 / 1.345 GB, free: 9.645 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000513/1.089, allocations: 373.2 kB / 1.345 GB, free: 9.281 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/1.089, allocations: 0 / 1.345 GB, free: 9.281 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.978e-05/1.089, allocations: 16.98 kB / 1.345 GB, free: 9.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/1.089, allocations: 1.031 kB / 1.345 GB, free: 9.27 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/1.089, allocations: 8.906 kB / 1.345 GB, free: 9.262 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/1.089, allocations: 1.188 kB / 1.345 GB, free: 9.262 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/1.089, allocations: 0 / 1.345 GB, free: 9.262 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003201/1.09, allocations: 205.1 kB / 1.345 GB, free: 9.09 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.617e-05/1.09, allocations: 82.47 kB / 1.345 GB, free: 8.992 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/1.09, allocations: 5.062 kB / 1.345 GB, free: 8.988 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.597e-05/1.09, allocations: 7.516 kB / 1.346 GB, free: 8.984 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.958e-05/1.09, allocations: 3.281 kB / 1.346 GB, free: 8.984 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/1.09, allocations: 6.25 kB / 1.346 GB, free: 8.98 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.793e-05/1.09, allocations: 92.45 kB / 1.346 GB, free: 8.898 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/1.09, allocations: 0 / 1.346 GB, free: 8.898 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002553/1.09, allocations: 20.69 kB / 1.346 GB, free: 8.891 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: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006834/1.091, allocations: 0.7388 MB / 1.346 GB, free: 8.191 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000296/1.091, allocations: 83.2 kB / 1.346 GB, free: 8.152 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.091, allocations: 0 / 1.346 GB, free: 8.152 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001283/1.091, allocations: 34.72 kB / 1.346 GB, free: 8.137 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/1.092, allocations: 15.83 kB / 1.346 GB, free: 8.129 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001947/1.093, allocations: 1.527 MB / 1.348 GB, free: 6.68 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/1.094, allocations: 0.6884 MB / 1.349 GB, free: 5.977 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.12e-05/1.094, allocations: 8.297 kB / 1.349 GB, free: 5.973 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.667e-05/1.094, allocations: 27.55 kB / 1.349 GB, free: 5.953 MB / 1.029 GB Notification: Performance of SimCode: time 3.5e-07/1.094, allocations: 4 kB / 1.349 GB, free: 5.949 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01895/1.113, allocations: 2.156 MB / 1.351 GB, free: 4.84 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.295/9.408, allocations: 15.09 kB / 1.351 GB, free: 4.832 MB / 1.029 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.029490915010683] Failed to read output from testmodel.py, exit status != 0: 9.53181344899349 9.548873323 8.461460283 Calling exit ...