Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,fileNamePrefix="Buildings_8_0_0_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_0_0_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/Buildings 8.0.0/package.mo): time 2.684/2.684, allocations: 287.5 MB / 302.4 MB, free: 8.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001333/0.001333, allocations: 186.1 kB / 371 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.178/2.178, allocations: 205.4 MB / 0.6297 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009486/0.0009482, allocations: 90.41 kB / 0.743 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004994/0.0004997, allocations: 12.56 kB / 0.8659 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2153, allocations: 115.3 MB / 0.9785 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.0009769/0.2163, allocations: 469.6 kB / 0.9789 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001511/0.2179, allocations: 1.056 MB / 0.98 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.353e-05/0.218, allocations: 4 kB / 0.98 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.22e-05/0.218, allocations: 3.938 kB / 0.98 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.955e-05/0.2181, allocations: 3.938 kB / 0.98 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003475/0.2185, allocations: 43.89 kB / 0.98 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.2186, allocations: 67.78 kB / 0.9801 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.2188, allocations: 12.16 kB / 0.9801 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.115e-05/0.2189, allocations: 27.92 kB / 0.9801 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.04e-05/0.2189, allocations: 27.91 kB / 0.9801 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.219, allocations: 4 kB / 0.9802 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.831e-05/0.2191, allocations: 11.94 kB / 0.9802 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.214e-05/0.2191, allocations: 15.97 kB / 0.9802 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.573e-05/0.2191, allocations: 37.64 kB / 0.9802 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001179/0.2193, allocations: 48.17 kB / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2193, allocations: 0 / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2193, allocations: 0 / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.2193, allocations: 0 / 0.9803 GB, free: 26.38 MB / 0.6198 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.0005803/0.2199, allocations: 375.1 kB / 0.9806 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.22, allocations: 12.02 kB / 0.9806 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.74e-05/0.22, allocations: 42.48 kB / 0.9807 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.596e-05/0.22, allocations: 7.906 kB / 0.9807 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.671e-05/0.2202, allocations: 175 kB / 0.9808 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.2202, allocations: 4 kB / 0.9808 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.2202, allocations: 8 kB / 0.9809 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.2205, allocations: 77.59 kB / 0.9809 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.2205, allocations: 3.938 kB / 0.9809 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.2205, allocations: 0 / 0.9809 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.2205, allocations: 0 / 0.9809 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002901/0.2208, allocations: 59.95 kB / 0.981 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008208/0.2217, allocations: 332.6 kB / 0.9813 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.2219, allocations: 58.56 kB / 0.9814 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.2221, allocations: 36.95 kB / 0.9814 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.2222, allocations: 0 / 0.9814 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002717/0.2224, allocations: 83.38 kB / 0.9815 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.765e-06/0.2225, allocations: 96 / 0.9815 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0006449/0.2231, allocations: 157.4 kB / 0.9816 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.2232, allocations: 55.41 kB / 0.9817 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.2233, allocations: 117.8 kB / 0.9818 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.2233, allocations: 29.7 kB / 0.9818 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.615e-05/0.2234, allocations: 96.03 kB / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.349e-05/0.2234, allocations: 11.75 kB / 0.9819 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.208e-06/0.2234, allocations: 4 kB / 0.9819 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.482e-05/0.2235, allocations: 326.8 kB / 0.9822 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.2237, allocations: 31.97 kB / 0.9823 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001962/0.2239, allocations: 85.86 kB / 0.9824 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.2241, allocations: 35.98 kB / 0.9824 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.2241, allocations: 4 kB / 0.9824 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004789/0.2246, allocations: 137.5 kB / 0.9825 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.2246, allocations: 4.219 kB / 0.9825 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.2246, allocations: 11.98 kB / 0.9825 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.2247, allocations: 0 / 0.9825 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/0.2249, allocations: 23.92 kB / 0.9826 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.2249, allocations: 7.953 kB / 0.9826 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/0.2251, allocations: 15.89 kB / 0.9826 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.2251, allocations: 4.312 kB / 0.9826 GB, free: 23.74 MB / 0.6198 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 ($PRE.triggeredSampler1.y,triggeredSampler1.y,$PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,samTri.y,$whenCondition2,samTri1.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001111/0.2252, allocations: 125.8 kB / 0.9827 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.939e-05/0.2252, allocations: 11.84 kB / 0.9827 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.79e-05/0.2253, allocations: 4.375 kB / 0.9827 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.2253, allocations: 0 / 0.9827 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.2253, allocations: 4 kB / 0.9827 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.2253, allocations: 3.953 kB / 0.9827 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006438/0.226, allocations: 390.5 kB / 0.9831 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.226, allocations: 4 kB / 0.9831 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.523e-05/0.2261, allocations: 15.92 kB / 0.9831 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.2261, allocations: 0 / 0.9831 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.2261, allocations: 3.953 kB / 0.9831 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.2261, allocations: 3.938 kB / 0.9831 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.2262, allocations: 0 / 0.9831 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004267/0.2266, allocations: 211.4 kB / 0.9833 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.361e-05/0.2266, allocations: 85.02 kB / 0.9834 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.2267, allocations: 0 / 0.9834 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.2268, allocations: 19.94 kB / 0.9834 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.453e-05/0.2269, allocations: 7.984 kB / 0.9834 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.2269, allocations: 4 kB / 0.9834 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.372e-05/0.227, allocations: 91.27 kB / 0.9835 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.273e-06/0.227, allocations: 0 / 0.9835 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003415/0.2273, allocations: 23.94 kB / 0.9836 GB, free: 22.65 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007089/0.228, allocations: 0.7475 MB / 0.9843 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004343/0.2285, allocations: 91.88 kB / 0.9844 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2285, allocations: 0 / 0.9844 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001819/0.2287, allocations: 40.36 kB / 0.9844 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.2291, allocations: 20.92 kB / 0.9844 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.2305, allocations: 0.5966 MB / 0.985 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001584/0.2307, allocations: 0.6923 MB / 0.9857 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.717e-05/0.2308, allocations: 4 kB / 0.9857 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.14e-05/0.2309, allocations: 23.42 kB / 0.9857 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of SimCode: time 1.253e-06/0.2309, allocations: 4 kB / 0.9857 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02025/0.2511, allocations: 1.818 MB / 0.9875 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001773/0.2514, allocations: 225.9 kB / 0.9877 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.511/2.763, allocations: 3 kB / 0.9877 GB, free: 18.48 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime_fmu --startTime=-2 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1)