Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001621/0.001621, allocations: 117.4 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.002017/0.002017, allocations: 214.3 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.62/1.62, 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.008/3.008, allocations: 0.49 GB / 0.7923 GB, free: 1.273 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.SampleTriggerPositiveStartTime,fileNamePrefix="Buildings_12_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_12_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.002016/0.002016, allocations: 67.89 kB / 1.15 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.027/1.03, allocations: 176.1 MB / 1.321 GB, free: 24.76 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.00179/1.031, allocations: 0.754 MB / 1.322 GB, free: 24.28 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00107/1.032, allocations: 1.103 MB / 1.323 GB, free: 23.47 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.823e-05/1.032, allocations: 3.938 kB / 1.323 GB, free: 23.46 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.157e-05/1.032, allocations: 7.172 kB / 1.323 GB, free: 23.46 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.717e-05/1.033, allocations: 14.78 kB / 1.323 GB, free: 23.45 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/1.033, allocations: 45.95 kB / 1.323 GB, free: 23.43 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001036/1.033, allocations: 79.52 kB / 1.323 GB, free: 23.39 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/1.033, allocations: 17.41 kB / 1.323 GB, free: 23.38 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.968e-05/1.033, allocations: 31.14 kB / 1.323 GB, free: 23.36 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.221e-05/1.033, allocations: 30.5 kB / 1.324 GB, free: 23.34 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/1.033, allocations: 8.781 kB / 1.324 GB, free: 23.34 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.811e-05/1.033, allocations: 20.89 kB / 1.324 GB, free: 23.34 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.034e-05/1.033, allocations: 17.7 kB / 1.324 GB, free: 23.32 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.598e-05/1.033, allocations: 32.05 kB / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001262/1.033, allocations: 80.31 kB / 1.324 GB, free: 23.27 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/1.033, allocations: 3 kB / 1.324 GB, free: 23.27 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.814e-06/1.033, allocations: 0 / 1.324 GB, free: 23.27 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.5e-06/1.033, allocations: 3.938 kB / 1.324 GB, free: 23.27 MB / 1.061 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.0004925/1.034, allocations: 377.9 kB / 1.324 GB, free: 22.89 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/1.034, allocations: 14.92 kB / 1.324 GB, free: 22.89 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.726e-05/1.034, allocations: 192 / 1.324 GB, free: 22.89 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.218e-05/1.034, allocations: 40.59 kB / 1.324 GB, free: 22.84 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/1.034, allocations: 7.453 kB / 1.324 GB, free: 22.84 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.525e-05/1.034, allocations: 173.9 kB / 1.324 GB, free: 22.64 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/1.034, allocations: 384 / 1.324 GB, free: 22.64 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/1.034, allocations: 10.28 kB / 1.324 GB, free: 22.63 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/1.034, allocations: 74.77 kB / 1.324 GB, free: 22.58 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/1.034, allocations: 7.453 kB / 1.324 GB, free: 22.58 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/1.034, allocations: 0 / 1.324 GB, free: 22.58 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/1.034, allocations: 2.875 kB / 1.324 GB, free: 22.58 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001725/1.034, allocations: 41.2 kB / 1.324 GB, free: 22.57 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005496/1.035, allocations: 329.3 kB / 1.325 GB, free: 22.27 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/1.035, allocations: 49.41 kB / 1.325 GB, free: 22.23 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.416e-05/1.035, allocations: 30.2 kB / 1.325 GB, free: 22.22 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/1.035, allocations: 0 / 1.325 GB, free: 22.22 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002038/1.036, allocations: 85.33 kB / 1.325 GB, free: 22.16 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/1.036, allocations: 3.938 kB / 1.325 GB, free: 22.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0003952/1.036, allocations: 130.8 kB / 1.325 GB, free: 22.09 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/1.036, allocations: 57.48 kB / 1.325 GB, free: 22.03 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.247e-05/1.036, allocations: 121.7 kB / 1.325 GB, free: 21.92 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/1.036, allocations: 29.7 kB / 1.325 GB, free: 21.89 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.715e-05/1.036, allocations: 102.2 kB / 1.325 GB, free: 21.79 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/1.036, allocations: 18.66 kB / 1.325 GB, free: 21.77 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.35e-05/1.036, allocations: 25.23 kB / 1.325 GB, free: 21.75 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.521e-05/1.036, allocations: 324.9 kB / 1.326 GB, free: 21.43 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/1.036, allocations: 30.84 kB / 1.326 GB, free: 21.43 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/1.036, allocations: 79.59 kB / 1.326 GB, free: 21.36 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002064/1.037, allocations: 108.3 kB / 1.326 GB, free: 21.27 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.037, allocations: 0 / 1.326 GB, free: 21.27 MB / 1.061 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003153/1.037, allocations: 130 kB / 1.326 GB, free: 21.21 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/1.037, allocations: 5.656 kB / 1.326 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/1.037, allocations: 4.219 kB / 1.326 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/1.037, allocations: 2.719 kB / 1.326 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/1.037, allocations: 24.42 kB / 1.326 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/1.037, allocations: 2.562 kB / 1.326 GB, free: 21.21 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.363e-05/1.037, allocations: 13.12 kB / 1.326 GB, free: 21.2 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/1.037, allocations: 13.19 kB / 1.326 GB, free: 21.2 MB / 1.061 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 6.457e-05/1.037, allocations: 123.2 kB / 1.326 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.288e-05/1.037, allocations: 6.828 kB / 1.326 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.407e-05/1.037, allocations: 12.38 kB / 1.326 GB, free: 21.05 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/1.037, allocations: 2.812 kB / 1.326 GB, free: 21.05 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/1.037, allocations: 0 / 1.326 GB, free: 21.05 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/1.037, allocations: 3.938 kB / 1.326 GB, free: 21.05 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003774/1.038, allocations: 373.3 kB / 1.327 GB, free: 20.71 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/1.038, allocations: 0 / 1.327 GB, free: 20.71 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.429e-05/1.038, allocations: 13.48 kB / 1.327 GB, free: 20.71 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/1.038, allocations: 0 / 1.327 GB, free: 20.71 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/1.038, allocations: 14.69 kB / 1.327 GB, free: 20.7 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/1.038, allocations: 0 / 1.327 GB, free: 20.7 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/1.038, allocations: 0 / 1.327 GB, free: 20.7 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/1.038, allocations: 194.7 kB / 1.327 GB, free: 20.55 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.156e-05/1.038, allocations: 87.3 kB / 1.327 GB, free: 20.45 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/1.038, allocations: 3.938 kB / 1.327 GB, free: 20.45 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.364e-05/1.038, allocations: 9.609 kB / 1.327 GB, free: 20.45 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.335e-05/1.038, allocations: 2.5 kB / 1.327 GB, free: 20.45 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/1.038, allocations: 6.844 kB / 1.327 GB, free: 20.44 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.305e-05/1.038, allocations: 93.27 kB / 1.327 GB, free: 20.36 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.038, allocations: 0 / 1.327 GB, free: 20.36 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002638/1.038, allocations: 18.52 kB / 1.327 GB, free: 20.36 MB / 1.061 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.0004823/1.039, allocations: 0.7461 MB / 1.328 GB, free: 19.67 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002789/1.039, allocations: 78.08 kB / 1.328 GB, free: 19.65 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.039, allocations: 0 / 1.328 GB, free: 19.65 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001107/1.039, allocations: 38.58 kB / 1.328 GB, free: 19.64 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/1.04, allocations: 13.41 kB / 1.328 GB, free: 19.63 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/1.041, allocations: 1.526 MB / 1.329 GB, free: 18.25 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/1.041, allocations: 0.6878 MB / 1.33 GB, free: 17.56 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.661e-05/1.041, allocations: 7.875 kB / 1.33 GB, free: 17.56 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.657e-05/1.041, allocations: 19.38 kB / 1.33 GB, free: 17.54 MB / 1.061 GB Notification: Performance of SimCode: time 4.31e-07/1.041, allocations: 0 / 1.33 GB, free: 17.54 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01907/1.06, allocations: 2.184 MB / 1.332 GB, free: 17.15 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.434/9.494, allocations: 12.61 kB / 1.332 GB, free: 17.14 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime_fmu --startTime=1 --stopTime=6 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.31384967098711] Failed to read output from testmodel.py, exit status != 0: 9.625245431030635 9.648606857 8.610536637 Calling exit ...