Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001234/0.001234, 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.001464/0.001464, allocations: 217.9 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.825/2.825, allocations: 476.7 MB / 0.7715 GB, free: 4.219 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.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,fileNamePrefix="Buildings_11_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_11_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.002055/0.002055, allocations: 62.42 kB / 1.118 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3579, allocations: 170 MB / 1.284 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002221/0.3601, allocations: 0.7574 MB / 1.285 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001614/0.3617, allocations: 1.11 MB / 1.286 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.637e-05/0.3618, allocations: 0 / 1.286 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.884e-05/0.3618, allocations: 11.88 kB / 1.286 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.092e-05/0.3619, allocations: 11.94 kB / 1.286 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003121/0.3622, allocations: 51.81 kB / 1.286 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.3623, allocations: 71.78 kB / 1.286 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.3624, allocations: 20.11 kB / 1.286 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.388e-05/0.3625, allocations: 31.91 kB / 1.286 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.289e-05/0.3626, allocations: 27.86 kB / 1.286 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.3626, allocations: 4 kB / 1.286 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.465e-05/0.3627, allocations: 19.98 kB / 1.286 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.251e-05/0.3627, allocations: 23.97 kB / 1.286 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.687e-05/0.3627, allocations: 31.8 kB / 1.286 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.3629, allocations: 80.39 kB / 1.286 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3629, allocations: 0 / 1.286 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3629, allocations: 0 / 1.286 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.3629, allocations: 0 / 1.286 GB, free: 9.473 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005536/0.3635, allocations: 302.1 kB / 1.287 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.3635, allocations: 8.031 kB / 1.287 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.733e-05/0.3635, allocations: 8.125 kB / 1.287 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.429e-05/0.3635, allocations: 42.69 kB / 1.287 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.774e-05/0.3636, allocations: 8.891 kB / 1.287 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.3637, allocations: 114.4 kB / 1.287 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.3637, allocations: 4.375 kB / 1.287 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.3637, allocations: 8.359 kB / 1.287 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.3639, allocations: 65.8 kB / 1.287 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.3639, allocations: 3.938 kB / 1.287 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.364, allocations: 0 / 1.287 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.364, allocations: 4 kB / 1.287 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001794/0.3641, allocations: 51.94 kB / 1.287 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006733/0.3648, allocations: 295.7 kB / 1.287 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.365, allocations: 50.59 kB / 1.287 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.3651, allocations: 36.95 kB / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.3651, allocations: 3.984 kB / 1.287 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002317/0.3654, allocations: 75.38 kB / 1.287 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.3654, allocations: 0 / 1.287 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004339/0.3658, allocations: 137.5 kB / 1.288 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/0.3659, allocations: 59.34 kB / 1.288 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.366, allocations: 121.8 kB / 1.288 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.366, allocations: 25.7 kB / 1.288 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.752e-05/0.3661, allocations: 96.08 kB / 1.288 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.3661, allocations: 19.89 kB / 1.288 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.993e-05/0.3661, allocations: 29.7 kB / 1.288 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.3663, allocations: 326.8 kB / 1.288 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.3664, allocations: 23.98 kB / 1.288 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.3665, allocations: 69.98 kB / 1.288 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002416/0.3668, allocations: 113.8 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.3668, allocations: 0 / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003161/0.3671, allocations: 137.5 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.3671, allocations: 4 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.3671, allocations: 4 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.3671, allocations: 4 kB / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.3673, allocations: 23.92 kB / 1.289 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.3673, allocations: 224 / 1.289 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.594e-05/0.3674, allocations: 19.92 kB / 1.289 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.3674, allocations: 7.938 kB / 1.289 GB, free: 6.977 MB / 0.9825 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/0.3675, allocations: 124.4 kB / 1.289 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.626e-05/0.3675, allocations: 7.953 kB / 1.289 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.964e-05/0.3675, allocations: 8.375 kB / 1.289 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3675, allocations: 3.984 kB / 1.289 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.3675, allocations: 0 / 1.289 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.3675, allocations: 4 kB / 1.289 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004745/0.368, allocations: 345.5 kB / 1.289 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.368, allocations: 3.938 kB / 1.289 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.64e-05/0.3681, allocations: 11.98 kB / 1.289 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3681, allocations: 0 / 1.289 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.3681, allocations: 7.875 kB / 1.289 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3681, allocations: 0 / 1.289 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3681, allocations: 0 / 1.289 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002984/0.3684, allocations: 203.5 kB / 1.289 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.165e-06/0.3684, allocations: 0 / 1.289 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.3684, allocations: 11.94 kB / 1.289 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.264e-05/0.3685, allocations: 7.984 kB / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.3685, allocations: 3.984 kB / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.3685, allocations: 4 kB / 1.289 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.074e-05/0.3686, allocations: 95.92 kB / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3686, allocations: 0 / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002744/0.3689, allocations: 23.89 kB / 1.289 GB, free: 6.051 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: 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.0006751/0.3696, allocations: 0.7284 MB / 1.29 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002803/0.3698, allocations: 87.8 kB / 1.29 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3698, allocations: 0 / 1.29 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.37, allocations: 31.92 kB / 1.29 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.3702, allocations: 15.92 kB / 1.29 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/0.3721, allocations: 1.52 MB / 1.292 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/0.3725, allocations: 0.6924 MB / 1.292 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.296e-05/0.3725, allocations: 8 kB / 1.292 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.313e-05/0.3725, allocations: 23.42 kB / 1.292 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.3725, allocations: 0 / 1.292 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02329/0.3958, allocations: 2.263 MB / 1.295 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.68, allocations: 7.062 kB / 1.295 GB, free: 0.6641 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.432895121979527] Failed to read output from testmodel.py, exit status != 0: 12.392593641998246 11.860967616 11.494873074000001 Calling exit ...