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.SampleTriggerPositiveStartTime.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.SampleTriggerPositiveStartTime,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime",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.638/2.638, allocations: 287.3 MB / 302.3 MB, free: 8.348 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.001606/0.001605, allocations: 193.4 kB / 370.8 MB, free: 10.85 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.246/2.246, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001636/0.001636, allocations: 94.58 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000682/0.0006822, allocations: 12.95 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2196, allocations: 115.3 MB / 0.9783 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.0009616/0.2206, allocations: 471.3 kB / 0.9788 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001425/0.222, allocations: 1.048 MB / 0.9798 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.01e-05/0.2221, allocations: 4 kB / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.585e-05/0.2222, allocations: 3.938 kB / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.037e-05/0.2223, allocations: 11.98 kB / 0.9798 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002915/0.2226, allocations: 43.83 kB / 0.9798 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.998e-05/0.2227, allocations: 39.95 kB / 0.9799 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.2228, allocations: 28.03 kB / 0.9799 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.482e-05/0.2229, allocations: 19.92 kB / 0.9799 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.932e-05/0.223, allocations: 23.91 kB / 0.98 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.223, allocations: 4 kB / 0.98 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.062e-05/0.2231, allocations: 19.97 kB / 0.98 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.106e-05/0.2231, allocations: 15.94 kB / 0.98 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.434e-05/0.2232, allocations: 33.69 kB / 0.98 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.2233, allocations: 56.16 kB / 0.9801 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2233, allocations: 0 / 0.9801 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.434e-06/0.2233, allocations: 0 / 0.9801 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.2234, allocations: 0 / 0.9801 GB, free: 26.43 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.0006043/0.224, allocations: 371.1 kB / 0.9804 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.224, allocations: 12.02 kB / 0.9804 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.554e-05/0.2241, allocations: 42.5 kB / 0.9805 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/0.2241, allocations: 3.906 kB / 0.9805 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.864e-05/0.2242, allocations: 171 kB / 0.9807 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.2243, allocations: 11.98 kB / 0.9807 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.2243, allocations: 4 kB / 0.9807 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000268/0.2246, allocations: 65.67 kB / 0.9807 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.2246, allocations: 7.875 kB / 0.9807 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.2246, allocations: 8 kB / 0.9807 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.2246, allocations: 0 / 0.9807 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002934/0.2249, allocations: 55.95 kB / 0.9808 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008262/0.2258, allocations: 328.7 kB / 0.9811 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.226, allocations: 62.58 kB / 0.9812 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.2261, allocations: 11.98 kB / 0.9812 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002775/0.2264, allocations: 75.5 kB / 0.9813 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.986e-06/0.2264, allocations: 7.938 kB / 0.9813 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.000635/0.227, allocations: 153.5 kB / 0.9814 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.2271, allocations: 55.36 kB / 0.9815 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.492e-05/0.2272, allocations: 121.8 kB / 0.9816 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.2272, allocations: 25.7 kB / 0.9816 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.246e-05/0.2273, allocations: 104 kB / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.2273, allocations: 11.75 kB / 0.9817 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.046e-05/0.2273, allocations: 8 kB / 0.9817 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.676e-05/0.2274, allocations: 318.8 kB / 0.982 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.2276, allocations: 27.98 kB / 0.9821 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001976/0.2278, allocations: 77.98 kB / 0.9821 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.228, allocations: 47.91 kB / 0.9822 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.228, allocations: 4 kB / 0.9822 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004873/0.2285, allocations: 137.7 kB / 0.9823 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.2286, allocations: 4 kB / 0.9823 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.2286, allocations: 4 kB / 0.9823 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.2286, allocations: 0 / 0.9823 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.2288, allocations: 23.97 kB / 0.9823 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.2289, allocations: 11.89 kB / 0.9823 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.229, allocations: 11.91 kB / 0.9824 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.2291, allocations: 12.05 kB / 0.9824 GB, free: 23.83 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.0001169/0.2292, allocations: 119.6 kB / 0.9825 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.251e-05/0.2292, allocations: 11.91 kB / 0.9825 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.57e-05/0.2293, allocations: 4.375 kB / 0.9825 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.2293, allocations: 4 kB / 0.9825 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.2293, allocations: 0 / 0.9825 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.2293, allocations: 3.953 kB / 0.9825 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006482/0.23, allocations: 398.6 kB / 0.9829 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.23, allocations: 0 / 0.9829 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.484e-05/0.2301, allocations: 11.98 kB / 0.9829 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.2301, allocations: 0 / 0.9829 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.2301, allocations: 4 kB / 0.9829 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.2301, allocations: 3.953 kB / 0.9829 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2301, allocations: 3.938 kB / 0.9829 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004063/0.2306, allocations: 215.3 kB / 0.9831 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.143e-05/0.2306, allocations: 89.02 kB / 0.9832 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.2306, allocations: 0 / 0.9832 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.2308, allocations: 11.98 kB / 0.9832 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.351e-05/0.2309, allocations: 7.953 kB / 0.9832 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.2309, allocations: 4 kB / 0.9832 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.303e-05/0.231, allocations: 91.27 kB / 0.9833 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.51e-07/0.231, allocations: 0 / 0.9833 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003687/0.2314, allocations: 16 kB / 0.9833 GB, free: 22.76 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.0007066/0.2321, allocations: 0.7553 MB / 0.9841 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004387/0.2325, allocations: 83.89 kB / 0.9841 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.2326, allocations: 0 / 0.9841 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001844/0.2327, allocations: 44.41 kB / 0.9842 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.233, allocations: 15.94 kB / 0.9842 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000897/0.234, allocations: 1.308 MB / 0.9855 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000147/0.2341, allocations: 0.6887 MB / 0.9862 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.079e-05/0.2342, allocations: 4 kB / 0.9862 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.5e-05/0.2343, allocations: 23.42 kB / 0.9862 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of SimCode: time 1.163e-06/0.2343, allocations: 4 kB / 0.9862 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02068/0.255, allocations: 1.792 MB / 0.9879 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002149/0.2553, allocations: 227.1 kB / 0.9881 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.402/2.657, allocations: 0 / 0.9881 GB, free: 17.88 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime_fmu --startTime=1 --stopTime=6 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1)