Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.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.001706/0.001706, allocations: 118.8 kB / 17.16 MB, free: 5.914 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.002025/0.002025, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.571/1.571, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.121/3.121, allocations: 0.49 GB / 0.7923 GB, free: 1.324 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.SampleTriggerNegativeStartTime,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime",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.002277/0.002277, allocations: 71.91 kB / 1.15 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.162/1.165, allocations: 176.1 MB / 1.321 GB, free: 7.598 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002524/1.167, allocations: 0.7491 MB / 1.322 GB, free: 7.031 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001814/1.169, allocations: 1.113 MB / 1.323 GB, free: 6.137 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.726e-05/1.169, allocations: 1 kB / 1.323 GB, free: 6.137 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.622e-05/1.169, allocations: 7.875 kB / 1.323 GB, free: 6.129 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001036/1.169, allocations: 14.14 kB / 1.323 GB, free: 6.117 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000374/1.17, allocations: 53.05 kB / 1.323 GB, free: 6.078 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001563/1.17, allocations: 72 kB / 1.323 GB, free: 6.035 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/1.17, allocations: 13.45 kB / 1.323 GB, free: 6.023 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/1.17, allocations: 31.38 kB / 1.323 GB, free: 6.004 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.521e-05/1.17, allocations: 33.91 kB / 1.324 GB, free: 5.98 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/1.17, allocations: 5.688 kB / 1.324 GB, free: 5.98 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.098e-05/1.17, allocations: 20.39 kB / 1.324 GB, free: 5.973 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.154e-05/1.17, allocations: 18.62 kB / 1.324 GB, free: 5.957 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.354e-05/1.17, allocations: 31.45 kB / 1.324 GB, free: 5.934 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001917/1.17, allocations: 84.17 kB / 1.324 GB, free: 5.871 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/1.17, allocations: 4 kB / 1.324 GB, free: 5.867 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.613e-06/1.17, allocations: 0 / 1.324 GB, free: 5.867 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.532e-06/1.17, allocations: 3.938 kB / 1.324 GB, free: 5.863 MB / 1.014 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.0007048/1.171, allocations: 381.9 kB / 1.324 GB, free: 5.469 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/1.171, allocations: 13.52 kB / 1.324 GB, free: 5.465 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.801e-05/1.171, allocations: 5.281 kB / 1.324 GB, free: 5.461 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.951e-05/1.171, allocations: 33.19 kB / 1.324 GB, free: 5.422 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.276e-05/1.171, allocations: 7.828 kB / 1.324 GB, free: 5.418 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/1.171, allocations: 176.4 kB / 1.324 GB, free: 5.211 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/1.171, allocations: 7.062 kB / 1.324 GB, free: 5.207 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/1.171, allocations: 8.078 kB / 1.324 GB, free: 5.203 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/1.172, allocations: 68.7 kB / 1.324 GB, free: 5.148 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/1.172, allocations: 0 / 1.324 GB, free: 5.148 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/1.172, allocations: 1.188 kB / 1.324 GB, free: 5.148 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/1.172, allocations: 1.188 kB / 1.324 GB, free: 5.148 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001934/1.172, allocations: 47.58 kB / 1.324 GB, free: 5.125 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000735/1.173, allocations: 325 kB / 1.325 GB, free: 4.793 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/1.173, allocations: 50.45 kB / 1.325 GB, free: 4.754 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/1.173, allocations: 26.16 kB / 1.325 GB, free: 4.738 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/1.173, allocations: 9.188 kB / 1.325 GB, free: 4.73 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002553/1.173, allocations: 82.55 kB / 1.325 GB, free: 4.656 MB / 1.014 GB Notification: Performance of pre-optimization done (n=7): time 1.684e-06/1.173, allocations: 0 / 1.325 GB, free: 4.656 MB / 1.014 GB Notification: Performance of matching and sorting (n=7): time 0.0004724/1.174, allocations: 135.8 kB / 1.325 GB, free: 4.574 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/1.174, allocations: 56.84 kB / 1.325 GB, free: 4.508 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/1.174, allocations: 126 kB / 1.325 GB, free: 4.391 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/1.174, allocations: 25.7 kB / 1.325 GB, free: 4.359 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.981e-05/1.174, allocations: 94.72 kB / 1.325 GB, free: 4.266 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/1.174, allocations: 19.45 kB / 1.325 GB, free: 4.25 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.116e-05/1.174, allocations: 30.98 kB / 1.325 GB, free: 4.223 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001393/1.174, allocations: 323.9 kB / 1.326 GB, free: 3.898 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/1.174, allocations: 32.81 kB / 1.326 GB, free: 3.883 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/1.174, allocations: 69.92 kB / 1.326 GB, free: 3.812 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000256/1.175, allocations: 107.2 kB / 1.326 GB, free: 3.723 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/1.175, allocations: 0.6875 kB / 1.326 GB, free: 3.723 MB / 1.014 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003501/1.175, allocations: 137 kB / 1.326 GB, free: 3.637 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/1.175, allocations: 8.719 kB / 1.326 GB, free: 3.637 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/1.175, allocations: 1.531 kB / 1.326 GB, free: 3.637 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/1.175, allocations: 2.25 kB / 1.326 GB, free: 3.637 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/1.175, allocations: 32.06 kB / 1.326 GB, free: 3.617 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/1.175, allocations: 2.156 kB / 1.326 GB, free: 3.617 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.029e-05/1.175, allocations: 10.14 kB / 1.326 GB, free: 3.613 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/1.175, allocations: 11.97 kB / 1.326 GB, free: 3.605 MB / 1.014 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.0001036/1.175, allocations: 124.3 kB / 1.326 GB, free: 3.48 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.517e-05/1.175, allocations: 9.391 kB / 1.326 GB, free: 3.473 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.144e-05/1.175, allocations: 10.7 kB / 1.326 GB, free: 3.461 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/1.176, allocations: 1.031 kB / 1.326 GB, free: 3.461 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/1.176, allocations: 0 / 1.326 GB, free: 3.461 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/1.176, allocations: 0 / 1.326 GB, free: 3.461 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005294/1.176, allocations: 380.8 kB / 1.327 GB, free: 3.09 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/1.176, allocations: 1.062 kB / 1.327 GB, free: 3.09 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.847e-05/1.176, allocations: 9.938 kB / 1.327 GB, free: 3.086 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/1.176, allocations: 0 / 1.327 GB, free: 3.086 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/1.176, allocations: 9.672 kB / 1.327 GB, free: 3.078 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/1.176, allocations: 0 / 1.327 GB, free: 3.078 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/1.176, allocations: 0 / 1.327 GB, free: 3.078 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/1.176, allocations: 201.7 kB / 1.327 GB, free: 2.91 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.114e-05/1.176, allocations: 86.36 kB / 1.327 GB, free: 2.809 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/1.177, allocations: 5.031 kB / 1.327 GB, free: 2.805 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.59e-05/1.177, allocations: 8.438 kB / 1.327 GB, free: 2.801 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.094e-05/1.177, allocations: 6.922 kB / 1.327 GB, free: 2.797 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-06/1.177, allocations: 1.062 kB / 1.327 GB, free: 2.797 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.323e-05/1.177, allocations: 93.14 kB / 1.327 GB, free: 2.715 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/1.177, allocations: 0 / 1.327 GB, free: 2.715 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002679/1.177, allocations: 20.97 kB / 1.327 GB, free: 2.707 MB / 1.014 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.0006856/1.178, allocations: 0.7372 MB / 1.328 GB, free: 2.012 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003083/1.178, allocations: 87.55 kB / 1.328 GB, free: 1.969 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/1.178, allocations: 0 / 1.328 GB, free: 1.969 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/1.178, allocations: 39.16 kB / 1.328 GB, free: 1.949 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/1.178, allocations: 4.906 kB / 1.328 GB, free: 1.949 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001921/1.18, allocations: 1.52 MB / 1.329 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/1.181, allocations: 0.6889 MB / 1.33 GB, free: 15.8 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.536e-05/1.181, allocations: 8.578 kB / 1.33 GB, free: 15.8 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.059e-05/1.181, allocations: 27.06 kB / 1.33 GB, free: 15.78 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/1.181, allocations: 0 / 1.33 GB, free: 15.78 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0198/1.201, allocations: 2.175 MB / 1.332 GB, free: 14.7 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.339/9.539, allocations: 8.469 kB / 1.332 GB, free: 14.7 MB / 1.029 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime_fmu --startTime=-2 --stopTime=3 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.270620366034564] Failed to read output from testmodel.py, exit status != 0: 9.669256457011215 9.691250244999999 8.517510308 Calling exit ...