Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.001859/0.001859, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.002121/0.002121, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.509/1.509, 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 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.864/2.864, allocations: 476.7 MB / 0.7678 GB, free: 9.656 MB / 0.6075 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.SampleTriggerPositiveStartTime,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime",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.002026/0.002026, allocations: 71.89 kB / 1.113 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.116/1.118, allocations: 169.9 MB / 1.279 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002264/1.121, allocations: 0.7594 MB / 1.28 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001606/1.122, allocations: 1.113 MB / 1.281 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.46e-05/1.122, allocations: 1.094 kB / 1.281 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.924e-05/1.122, allocations: 3.938 kB / 1.281 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.588e-05/1.122, allocations: 15.36 kB / 1.281 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003068/1.123, allocations: 51.16 kB / 1.281 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001315/1.123, allocations: 69.2 kB / 1.281 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/1.123, allocations: 16.25 kB / 1.281 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.481e-05/1.123, allocations: 30.92 kB / 1.281 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.914e-05/1.123, allocations: 34.11 kB / 1.281 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/1.123, allocations: 9.469 kB / 1.281 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.033e-05/1.123, allocations: 24.3 kB / 1.281 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.51e-05/1.123, allocations: 14 kB / 1.281 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.934e-05/1.123, allocations: 34.2 kB / 1.281 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001721/1.123, allocations: 81.52 kB / 1.281 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/1.123, allocations: 0.9062 kB / 1.281 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.753e-06/1.123, allocations: 0 / 1.281 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.521e-06/1.123, allocations: 0 / 1.281 GB, free: 10.28 MB / 0.9981 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.0006241/1.124, allocations: 375.5 kB / 1.282 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/1.124, allocations: 14.06 kB / 1.282 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.249e-05/1.124, allocations: 1.25 kB / 1.282 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.807e-05/1.124, allocations: 37.7 kB / 1.282 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.572e-05/1.124, allocations: 8.234 kB / 1.282 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/1.124, allocations: 178.3 kB / 1.282 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/1.124, allocations: 2.531 kB / 1.282 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/1.124, allocations: 12.78 kB / 1.282 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/1.125, allocations: 72.7 kB / 1.282 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/1.125, allocations: 0 / 1.282 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/1.125, allocations: 4 kB / 1.282 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/1.125, allocations: 1.375 kB / 1.282 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001924/1.125, allocations: 44.06 kB / 1.282 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007015/1.126, allocations: 322.9 kB / 1.282 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/1.126, allocations: 57.92 kB / 1.282 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/1.126, allocations: 27.17 kB / 1.282 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/1.126, allocations: 1.391 kB / 1.282 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002774/1.126, allocations: 85.98 kB / 1.282 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/1.126, allocations: 0.5 kB / 1.282 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0005902/1.127, allocations: 131.7 kB / 1.282 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.448e-05/1.127, allocations: 53.62 kB / 1.283 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/1.127, allocations: 119.5 kB / 1.283 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/1.127, allocations: 34.7 kB / 1.283 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.841e-05/1.127, allocations: 96.69 kB / 1.283 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.031e-05/1.127, allocations: 15.38 kB / 1.283 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.696e-05/1.127, allocations: 34.39 kB / 1.283 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001885/1.127, allocations: 319.7 kB / 1.283 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/1.128, allocations: 34.33 kB / 1.283 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001888/1.128, allocations: 71.69 kB / 1.283 GB, free: 8.375 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000293/1.128, allocations: 110.6 kB / 1.283 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.128, allocations: 0 / 1.283 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003498/1.128, allocations: 131 kB / 1.283 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/1.128, allocations: 6.094 kB / 1.283 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/1.128, allocations: 2.344 kB / 1.283 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/1.128, allocations: 2.281 kB / 1.283 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/1.129, allocations: 24.95 kB / 1.283 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/1.129, allocations: 3.016 kB / 1.283 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.224e-05/1.129, allocations: 7.75 kB / 1.283 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/1.129, allocations: 9.531 kB / 1.283 GB, free: 8.219 MB / 0.9981 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.0001041/1.129, allocations: 127.1 kB / 1.284 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.505e-05/1.129, allocations: 7.422 kB / 1.284 GB, free: 8.09 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.111e-05/1.129, allocations: 10.86 kB / 1.284 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/1.129, allocations: 1.094 kB / 1.284 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.129, allocations: 5.062 kB / 1.284 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/1.129, allocations: 0.7031 kB / 1.284 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005066/1.129, allocations: 376.1 kB / 1.284 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/1.129, allocations: 0 / 1.284 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.929e-05/1.129, allocations: 17.45 kB / 1.284 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/1.129, allocations: 0 / 1.284 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/1.129, allocations: 5.922 kB / 1.284 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/1.129, allocations: 4.656 kB / 1.284 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/1.129, allocations: 3.938 kB / 1.284 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003229/1.13, allocations: 203.8 kB / 1.284 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.85e-05/1.13, allocations: 80.62 kB / 1.284 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/1.13, allocations: 5.938 kB / 1.284 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.645e-05/1.13, allocations: 5.734 kB / 1.284 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/1.13, allocations: 12.58 kB / 1.284 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/1.13, allocations: 6.266 kB / 1.284 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.384e-05/1.13, allocations: 92.91 kB / 1.284 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.13, allocations: 0 / 1.284 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000264/1.13, allocations: 17.45 kB / 1.284 GB, free: 7.371 MB / 0.9981 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.0007207/1.131, allocations: 0.7464 MB / 1.285 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002999/1.131, allocations: 75.88 kB / 1.285 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/1.131, allocations: 1.25 kB / 1.285 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001233/1.131, allocations: 37.66 kB / 1.285 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/1.132, allocations: 19.34 kB / 1.285 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/1.134, allocations: 1.522 MB / 1.287 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/1.134, allocations: 0.6958 MB / 1.287 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.325e-05/1.134, allocations: 6.906 kB / 1.287 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.455e-05/1.134, allocations: 22.19 kB / 1.287 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of SimCode: time 3.91e-07/1.134, allocations: 0 / 1.287 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01926/1.153, allocations: 2.188 MB / 1.29 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.413/9.566, allocations: 7.078 kB / 1.29 GB, free: 4.141 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime_fmu --startTime=1 --stopTime=6 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.891804204962682] Failed to read output from testmodel.py, exit status != 0: 9.691044092003722 9.716664908 8.588598782 Calling exit ...