Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 190.7 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.3/1.3, allocations: 205.1 MB / 222.1 MB, free: 4.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.595/1.595, allocations: 292.3 MB / 0.5486 GB, free: 13.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 69.97 kB / 0.6711 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.2229, allocations: 114.5 MB / 0.783 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001886/0.2248, allocations: 0.8244 MB / 0.7838 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001146/0.226, allocations: 1.072 MB / 0.7849 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.124e-05/0.226, allocations: 0 / 0.7849 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.438e-05/0.2261, allocations: 3.938 kB / 0.7849 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.04e-05/0.2261, allocations: 11.91 kB / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000259/0.2264, allocations: 47.91 kB / 0.7849 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.865e-05/0.2265, allocations: 71.78 kB / 0.785 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.981e-05/0.2266, allocations: 16.17 kB / 0.785 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.247e-05/0.2267, allocations: 27.92 kB / 0.785 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.422e-05/0.2267, allocations: 35.83 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.2268, allocations: 8 kB / 0.7851 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.943e-05/0.2268, allocations: 23.92 kB / 0.7851 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.733e-05/0.2269, allocations: 11.98 kB / 0.7851 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.718e-05/0.2269, allocations: 35.8 kB / 0.7851 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.227, allocations: 83.97 kB / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.227, allocations: 0 / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.032e-06/0.227, allocations: 0 / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.2271, allocations: 0 / 0.7852 GB, free: 11.5 MB / 0.6075 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.0004946/0.2276, allocations: 371.3 kB / 0.7856 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.2276, allocations: 8.031 kB / 0.7856 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.38e-05/0.2276, allocations: 38.73 kB / 0.7856 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.652e-05/0.2277, allocations: 8.844 kB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.2278, allocations: 180.2 kB / 0.7858 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.2278, allocations: 4.375 kB / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.2278, allocations: 8.375 kB / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.228, allocations: 77.84 kB / 0.7859 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.228, allocations: 0 / 0.7859 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.228, allocations: 0 / 0.7859 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.228, allocations: 0 / 0.7859 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001558/0.2282, allocations: 43.95 kB / 0.7859 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005777/0.2288, allocations: 332.6 kB / 0.7862 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.2289, allocations: 50.56 kB / 0.7863 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.183e-05/0.229, allocations: 36.95 kB / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.2291, allocations: 4 kB / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001707/0.2292, allocations: 75.41 kB / 0.7864 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.754e-06/0.2293, allocations: 0 / 0.7864 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003782/0.2296, allocations: 137.5 kB / 0.7865 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.2297, allocations: 59.41 kB / 0.7866 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.53e-05/0.2298, allocations: 114.2 kB / 0.7867 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.2298, allocations: 33.69 kB / 0.7867 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.594e-05/0.2299, allocations: 88.14 kB / 0.7868 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/0.2299, allocations: 19.69 kB / 0.7868 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.292e-05/0.2299, allocations: 29.7 kB / 0.7869 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.813e-05/0.23, allocations: 326.8 kB / 0.7872 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.2301, allocations: 27.98 kB / 0.7872 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.2303, allocations: 81.95 kB / 0.7873 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002065/0.2305, allocations: 101.9 kB / 0.7874 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2305, allocations: 0 / 0.7874 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002919/0.2308, allocations: 141.3 kB / 0.7875 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.2308, allocations: 8 kB / 0.7875 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.2308, allocations: 0 / 0.7875 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.2308, allocations: 4 kB / 0.7875 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.231, allocations: 15.98 kB / 0.7875 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.231, allocations: 4 kB / 0.7875 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.063e-05/0.2311, allocations: 12.11 kB / 0.7875 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.2311, allocations: 12 kB / 0.7876 GB, free: 8.816 MB / 0.6075 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 7.721e-05/0.2312, allocations: 122.4 kB / 0.7877 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.215e-05/0.2312, allocations: 4 kB / 0.7877 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.38e-05/0.2312, allocations: 16.36 kB / 0.7877 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2312, allocations: 0 / 0.7877 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2312, allocations: 0 / 0.7877 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2313, allocations: 0 / 0.7877 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004395/0.2317, allocations: 390.5 kB / 0.7881 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2317, allocations: 0 / 0.7881 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.924e-05/0.2318, allocations: 7.938 kB / 0.7881 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2318, allocations: 0 / 0.7881 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.2318, allocations: 4 kB / 0.7881 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.053e-05/0.2318, allocations: 7.922 kB / 0.7881 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2318, allocations: 0 / 0.7881 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/0.2321, allocations: 199.4 kB / 0.7883 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.307e-05/0.2321, allocations: 88.95 kB / 0.7884 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.2321, allocations: 7.984 kB / 0.7884 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.838e-05/0.2322, allocations: 7.938 kB / 0.7884 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.2323, allocations: 15.92 kB / 0.7884 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.2323, allocations: 0 / 0.7884 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.538e-05/0.2323, allocations: 91.27 kB / 0.7885 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2323, allocations: 4 kB / 0.7885 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002448/0.2326, allocations: 20 kB / 0.7885 GB, free: 7.75 MB / 0.6075 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.0005483/0.2331, allocations: 0.7281 MB / 0.7892 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002457/0.2334, allocations: 83.81 kB / 0.7893 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2334, allocations: 0 / 0.7893 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.2335, allocations: 31.97 kB / 0.7893 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.2338, allocations: 18.78 kB / 0.7893 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.2353, allocations: 1.541 MB / 0.7908 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.2356, allocations: 0.6885 MB / 0.7915 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.349e-05/0.2356, allocations: 4 kB / 0.7915 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.361e-05/0.2357, allocations: 23.42 kB / 0.7915 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2357, allocations: 0 / 0.7915 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.012/0.2477, allocations: 1.949 MB / 0.7934 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002799/0.248, allocations: 237.7 kB / 0.7937 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.546/2.794, allocations: 7.578 kB / 0.7937 GB, free: 2.465 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime_fmu --startTime=-2 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1)