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.001367/0.001367, 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.00142/0.00142, allocations: 218 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.291/3.291, 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.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.002006/0.002006, allocations: 63.12 kB / 1.171 GB, free: 19.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3879/0.3899, allocations: 179 MB / 1.345 GB, free: 360 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002179/0.3921, allocations: 0.7519 MB / 1.346 GB, free: 15.6 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001612/0.3937, allocations: 1.108 MB / 1.347 GB, free: 14.48 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.115e-05/0.3938, allocations: 0 / 1.347 GB, free: 14.48 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.994e-05/0.3938, allocations: 7.922 kB / 1.347 GB, free: 14.47 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.493e-05/0.3939, allocations: 15.88 kB / 1.347 GB, free: 14.45 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003777/0.3943, allocations: 43.89 kB / 1.347 GB, free: 14.41 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.3945, allocations: 83.7 kB / 1.347 GB, free: 14.33 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.3946, allocations: 12.19 kB / 1.347 GB, free: 14.31 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.3947, allocations: 31.91 kB / 1.347 GB, free: 14.28 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.583e-05/0.3948, allocations: 35.84 kB / 1.347 GB, free: 14.25 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.3948, allocations: 7.938 kB / 1.347 GB, free: 14.24 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.258e-05/0.3949, allocations: 23.98 kB / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.483e-05/0.3949, allocations: 11.98 kB / 1.347 GB, free: 14.2 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.604e-05/0.395, allocations: 35.78 kB / 1.347 GB, free: 14.17 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.3952, allocations: 87.84 kB / 1.348 GB, free: 14.08 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3952, allocations: 0 / 1.348 GB, free: 14.08 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3952, allocations: 0 / 1.348 GB, free: 14.08 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.3952, allocations: 0 / 1.348 GB, free: 14.08 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006407/0.3958, allocations: 310 kB / 1.348 GB, free: 13.75 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.3959, allocations: 8.031 kB / 1.348 GB, free: 13.74 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.076e-05/0.3959, allocations: 192 / 1.348 GB, free: 13.74 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.564e-05/0.3959, allocations: 38.73 kB / 1.348 GB, free: 13.7 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.265e-05/0.396, allocations: 8.891 kB / 1.348 GB, free: 13.69 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.3961, allocations: 106.5 kB / 1.348 GB, free: 13.56 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.3961, allocations: 4.375 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.3961, allocations: 4.375 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002202/0.3964, allocations: 73.72 kB / 1.348 GB, free: 13.47 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.3964, allocations: 4 kB / 1.348 GB, free: 13.47 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/0.3964, allocations: 8 kB / 1.348 GB, free: 13.46 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.3964, allocations: 0 / 1.348 GB, free: 13.46 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000184/0.3966, allocations: 39.95 kB / 1.348 GB, free: 13.42 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006816/0.3973, allocations: 295.7 kB / 1.348 GB, free: 13.09 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.3974, allocations: 58.55 kB / 1.348 GB, free: 13.02 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.3976, allocations: 28.95 kB / 1.348 GB, free: 12.99 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.3976, allocations: 0 / 1.348 GB, free: 12.99 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002529/0.3978, allocations: 79.36 kB / 1.349 GB, free: 12.9 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.3978, allocations: 4 kB / 1.349 GB, free: 12.9 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0004455/0.3983, allocations: 129.6 kB / 1.349 GB, free: 12.77 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.3984, allocations: 55.39 kB / 1.349 GB, free: 12.7 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.3985, allocations: 125.7 kB / 1.349 GB, free: 12.57 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.3985, allocations: 25.7 kB / 1.349 GB, free: 12.54 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.233e-05/0.3986, allocations: 96.12 kB / 1.349 GB, free: 12.44 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.3986, allocations: 11.91 kB / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.713e-05/0.3987, allocations: 33.7 kB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.3988, allocations: 318.8 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.3989, allocations: 31.91 kB / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.3991, allocations: 82.28 kB / 1.349 GB, free: 11.93 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002501/0.3993, allocations: 113.9 kB / 1.35 GB, free: 11.8 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.3993, allocations: 0 / 1.35 GB, free: 11.8 MB / 1.045 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00033/0.3997, allocations: 129.5 kB / 1.35 GB, free: 11.67 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.3997, allocations: 4 kB / 1.35 GB, free: 11.66 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.3997, allocations: 12.3 kB / 1.35 GB, free: 11.65 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.3997, allocations: 8.219 kB / 1.35 GB, free: 11.64 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.3998, allocations: 19.92 kB / 1.35 GB, free: 11.62 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.3998, allocations: 0 / 1.35 GB, free: 11.62 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.389e-05/0.3999, allocations: 19.88 kB / 1.35 GB, free: 11.61 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/0.4, allocations: 15.92 kB / 1.35 GB, free: 11.59 MB / 1.045 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 9.567e-05/0.4001, allocations: 117.8 kB / 1.35 GB, free: 11.46 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/0.4001, allocations: 4 kB / 1.35 GB, free: 11.46 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.536e-05/0.4001, allocations: 8.375 kB / 1.35 GB, free: 11.45 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.4001, allocations: 4 kB / 1.35 GB, free: 11.45 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.4001, allocations: 4 kB / 1.35 GB, free: 11.45 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.4001, allocations: 3.984 kB / 1.35 GB, free: 11.44 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005042/0.4006, allocations: 341.5 kB / 1.35 GB, free: 11.06 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4006, allocations: 0 / 1.35 GB, free: 11.06 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.777e-05/0.4007, allocations: 11.98 kB / 1.35 GB, free: 11.05 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.4007, allocations: 0 / 1.35 GB, free: 11.05 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.4007, allocations: 7.875 kB / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4007, allocations: 4 kB / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.4007, allocations: 0 / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003183/0.401, allocations: 203.4 kB / 1.35 GB, free: 10.82 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.352e-05/0.401, allocations: 7.891 kB / 1.35 GB, free: 10.81 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.401, allocations: 11.94 kB / 1.35 GB, free: 10.8 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.436e-05/0.4011, allocations: 7.984 kB / 1.35 GB, free: 10.79 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/0.4012, allocations: 4 kB / 1.35 GB, free: 10.79 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.4012, allocations: 11.92 kB / 1.35 GB, free: 10.78 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.72e-05/0.4012, allocations: 87.28 kB / 1.351 GB, free: 10.69 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4012, allocations: 0 / 1.351 GB, free: 10.69 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002638/0.4015, allocations: 19.98 kB / 1.351 GB, free: 10.67 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: 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.0007525/0.4023, allocations: 0.732 MB / 1.351 GB, free: 9.914 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002964/0.4025, allocations: 83.75 kB / 1.351 GB, free: 9.832 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4025, allocations: 0 / 1.351 GB, free: 9.832 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.4027, allocations: 32.41 kB / 1.351 GB, free: 9.801 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.4029, allocations: 19.92 kB / 1.351 GB, free: 9.781 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/0.4049, allocations: 1.517 MB / 1.353 GB, free: 8.145 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.4053, allocations: 0.6924 MB / 1.354 GB, free: 7.426 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.936e-05/0.4053, allocations: 11.78 kB / 1.354 GB, free: 7.414 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.184e-05/0.4054, allocations: 23.42 kB / 1.354 GB, free: 7.391 MB / 1.045 GB Notification: Performance of SimCode: time 5.11e-07/0.4054, allocations: 0 / 1.354 GB, free: 7.391 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02416/0.4295, allocations: 2.247 MB / 1.356 GB, free: 5.293 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.68, allocations: 14.94 kB / 1.356 GB, free: 5.281 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.648653748969082] Failed to read output from testmodel.py, exit status != 0: 11.840809218992945 11.867692816 11.467551987 Calling exit ...