Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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: 101.3 kB / 19.73 MB, free: 2.133 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.001628/0.001628, allocations: 220.4 kB / 23.03 MB, free: 4.945 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.25/3.25, allocations: 0.5003 GB / 0.8062 GB, free: 28.35 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.SampleTriggerNegativeStartTime,fileNamePrefix="Buildings_latest_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_latest_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.002/0.002, allocations: 65.2 kB / 1.171 GB, free: 19.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3521, allocations: 179 MB / 1.345 GB, free: 0 / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002283/0.3544, allocations: 0.7427 MB / 1.346 GB, free: 15.25 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001563/0.356, allocations: 1.093 MB / 1.347 GB, free: 14.15 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.571e-05/0.356, allocations: 0 / 1.347 GB, free: 14.15 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.749e-05/0.3561, allocations: 7.922 kB / 1.347 GB, free: 14.14 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.209e-05/0.3561, allocations: 11.88 kB / 1.347 GB, free: 14.13 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003185/0.3565, allocations: 51.83 kB / 1.347 GB, free: 14.08 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.3566, allocations: 71.83 kB / 1.347 GB, free: 14.01 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.3567, allocations: 8.188 kB / 1.347 GB, free: 14 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.273e-05/0.3568, allocations: 35.84 kB / 1.347 GB, free: 13.96 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.201e-05/0.3569, allocations: 35.84 kB / 1.347 GB, free: 13.93 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.3569, allocations: 8 kB / 1.347 GB, free: 13.92 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.81e-05/0.357, allocations: 19.98 kB / 1.347 GB, free: 13.9 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.1e-05/0.357, allocations: 19.92 kB / 1.347 GB, free: 13.88 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.556e-05/0.357, allocations: 23.84 kB / 1.347 GB, free: 13.86 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.3572, allocations: 87.84 kB / 1.347 GB, free: 13.77 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3572, allocations: 0 / 1.347 GB, free: 13.77 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3572, allocations: 0 / 1.347 GB, free: 13.77 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.3572, allocations: 0 / 1.347 GB, free: 13.77 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.0005691/0.3578, allocations: 306 kB / 1.348 GB, free: 13.44 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.3578, allocations: 16.03 kB / 1.348 GB, free: 13.43 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.061e-05/0.3578, allocations: 192 / 1.348 GB, free: 13.43 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.437e-05/0.3579, allocations: 34.73 kB / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.35e-05/0.3579, allocations: 8.891 kB / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.358, allocations: 114.5 kB / 1.348 GB, free: 13.24 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.358, allocations: 4.375 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.3581, allocations: 4.375 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.3583, allocations: 69.78 kB / 1.348 GB, free: 13.16 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.3583, allocations: 0 / 1.348 GB, free: 13.16 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.3583, allocations: 4 kB / 1.348 GB, free: 13.15 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3583, allocations: 11.94 kB / 1.348 GB, free: 13.14 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001751/0.3585, allocations: 43.89 kB / 1.348 GB, free: 13.1 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006455/0.3591, allocations: 283.8 kB / 1.348 GB, free: 12.78 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.3593, allocations: 50.55 kB / 1.348 GB, free: 12.72 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.3594, allocations: 29 kB / 1.348 GB, free: 12.69 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.3594, allocations: 4 kB / 1.348 GB, free: 12.68 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002547/0.3597, allocations: 79.31 kB / 1.348 GB, free: 12.59 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.3597, allocations: 0 / 1.348 GB, free: 12.59 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0004691/0.3602, allocations: 133.6 kB / 1.349 GB, free: 12.46 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/0.3602, allocations: 51.41 kB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.3604, allocations: 129.7 kB / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.556e-05/0.3604, allocations: 29.7 kB / 1.349 GB, free: 12.22 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.838e-05/0.3605, allocations: 92.14 kB / 1.349 GB, free: 12.13 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.3605, allocations: 19.89 kB / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.893e-05/0.3605, allocations: 25.7 kB / 1.349 GB, free: 12.08 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.3607, allocations: 322.8 kB / 1.349 GB, free: 11.75 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.3608, allocations: 31.97 kB / 1.349 GB, free: 11.72 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.361, allocations: 73.98 kB / 1.349 GB, free: 11.63 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000257/0.3612, allocations: 109.9 kB / 1.349 GB, free: 11.5 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3612, allocations: 3.938 kB / 1.349 GB, free: 11.5 MB / 1.045 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003202/0.3616, allocations: 129.6 kB / 1.35 GB, free: 11.36 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.3616, allocations: 8 kB / 1.35 GB, free: 11.36 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.3616, allocations: 0 / 1.35 GB, free: 11.36 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.3616, allocations: 4 kB / 1.35 GB, free: 11.35 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.3617, allocations: 15.98 kB / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.3618, allocations: 7.922 kB / 1.35 GB, free: 11.33 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.026e-05/0.3618, allocations: 19.89 kB / 1.35 GB, free: 11.31 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.3619, allocations: 7.938 kB / 1.35 GB, free: 11.3 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 0.0001184/0.362, allocations: 123.8 kB / 1.35 GB, free: 11.17 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.356e-05/0.362, allocations: 4 kB / 1.35 GB, free: 11.17 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.014e-05/0.362, allocations: 8.375 kB / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.362, allocations: 4 kB / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.362, allocations: 3.938 kB / 1.35 GB, free: 11.15 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.362, allocations: 0 / 1.35 GB, free: 11.15 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005111/0.3625, allocations: 345.5 kB / 1.35 GB, free: 10.77 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3625, allocations: 0 / 1.35 GB, free: 10.77 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.263e-05/0.3626, allocations: 4 kB / 1.35 GB, free: 10.76 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.3626, allocations: 11.98 kB / 1.35 GB, free: 10.75 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.3626, allocations: 3.938 kB / 1.35 GB, free: 10.75 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.032e-06/0.3626, allocations: 3.984 kB / 1.35 GB, free: 10.74 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3626, allocations: 0 / 1.35 GB, free: 10.74 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003302/0.363, allocations: 211.7 kB / 1.35 GB, free: 10.52 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.27e-05/0.363, allocations: 7.891 kB / 1.35 GB, free: 10.51 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.363, allocations: 11.92 kB / 1.35 GB, free: 10.5 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.256e-05/0.3631, allocations: 4 kB / 1.35 GB, free: 10.5 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/0.3631, allocations: 11.98 kB / 1.35 GB, free: 10.48 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.3631, allocations: 4 kB / 1.35 GB, free: 10.48 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.267e-05/0.3632, allocations: 91.27 kB / 1.35 GB, free: 10.39 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3632, allocations: 0 / 1.35 GB, free: 10.39 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002638/0.3635, allocations: 16 kB / 1.35 GB, free: 10.38 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.0007408/0.3642, allocations: 0.7398 MB / 1.351 GB, free: 9.609 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003009/0.3645, allocations: 79.88 kB / 1.351 GB, free: 9.531 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3645, allocations: 0 / 1.351 GB, free: 9.531 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.3646, allocations: 35.97 kB / 1.351 GB, free: 9.496 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.3649, allocations: 11.98 kB / 1.351 GB, free: 9.484 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/0.3668, allocations: 1.532 MB / 1.353 GB, free: 7.836 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.997e-05/0.3668, allocations: 71.09 kB / 1.353 GB, free: 7.746 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.724e-05/0.3669, allocations: 15.77 kB / 1.353 GB, free: 7.73 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.607e-05/0.3669, allocations: 19.44 kB / 1.353 GB, free: 7.711 MB / 1.045 GB Notification: Performance of SimCode: time 3.11e-07/0.3669, allocations: 4 kB / 1.353 GB, free: 7.707 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02347/0.3904, allocations: 2.335 MB / 1.355 GB, free: 5.559 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.84, allocations: 11.25 kB / 1.355 GB, free: 5.551 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime_fmu --startTime=-2 --stopTime=3 --stepSize=0.002 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.69019544404] Failed to read output from testmodel.py, exit status != 0: 12.010045962058939 12.039559031 11.676607674 Calling exit ...