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.827/2.827, allocations: 287.3 MB / 302.3 MB, free: 8.242 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.001675/0.001674, allocations: 186.7 kB / 370.8 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.126/2.126, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001091/0.001091, allocations: 96.3 kB / 0.7428 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004973/0.0004975, allocations: 17.39 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2229, allocations: 115.3 MB / 0.9783 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001005/0.2239, allocations: 469.7 kB / 0.9788 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001501/0.2255, allocations: 1.052 MB / 0.9798 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.161e-05/0.2256, allocations: 0 / 0.9798 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.611e-05/0.2256, allocations: 3.938 kB / 0.9798 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.567e-05/0.2257, allocations: 7.969 kB / 0.9798 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003003/0.226, allocations: 45.97 kB / 0.9798 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.991e-05/0.2261, allocations: 47.88 kB / 0.9799 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.2263, allocations: 20.11 kB / 0.9799 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.472e-05/0.2264, allocations: 15.94 kB / 0.9799 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.582e-05/0.2264, allocations: 35.89 kB / 0.98 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.2265, allocations: 0 / 0.98 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.027e-05/0.2266, allocations: 11.98 kB / 0.98 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.173e-05/0.2266, allocations: 19.86 kB / 0.98 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.429e-05/0.2266, allocations: 33.7 kB / 0.98 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.2268, allocations: 56.16 kB / 0.9801 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.2268, allocations: 0 / 0.9801 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2268, allocations: 0 / 0.9801 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.2268, allocations: 4 kB / 0.9801 GB, free: 26.41 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.0006258/0.2274, allocations: 367.1 kB / 0.9804 GB, free: 26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.2275, allocations: 12.02 kB / 0.9804 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.367e-05/0.2275, allocations: 42.5 kB / 0.9805 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.595e-05/0.2276, allocations: 7.906 kB / 0.9805 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.2277, allocations: 179 kB / 0.9807 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.2277, allocations: 0 / 0.9807 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.2278, allocations: 8 kB / 0.9807 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002734/0.2281, allocations: 69.66 kB / 0.9807 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.2281, allocations: 3.938 kB / 0.9807 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.2281, allocations: 0 / 0.9807 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.2281, allocations: 4 kB / 0.9807 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002902/0.2284, allocations: 55.95 kB / 0.9808 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008315/0.2293, allocations: 336.7 kB / 0.9811 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002384/0.2295, allocations: 62.58 kB / 0.9812 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.2296, allocations: 0 / 0.9812 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002754/0.2299, allocations: 87.44 kB / 0.9813 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.893e-06/0.2299, allocations: 0 / 0.9813 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0006265/0.2305, allocations: 149.5 kB / 0.9814 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.2306, allocations: 55.36 kB / 0.9815 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.544e-05/0.2307, allocations: 121.8 kB / 0.9816 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.2307, allocations: 29.7 kB / 0.9816 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.597e-05/0.2308, allocations: 96.03 kB / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.2308, allocations: 19.75 kB / 0.9817 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.796e-06/0.2308, allocations: 0 / 0.9817 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.582e-05/0.2309, allocations: 322.8 kB / 0.982 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.2311, allocations: 35.97 kB / 0.9821 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.2313, allocations: 78.42 kB / 0.9821 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001932/0.2315, allocations: 39.92 kB / 0.9822 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2315, allocations: 4 kB / 0.9822 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004946/0.232, allocations: 137.5 kB / 0.9823 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.2321, allocations: 18.03 kB / 0.9823 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.2321, allocations: 0 / 0.9823 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.541e-05/0.2321, allocations: 7.984 kB / 0.9823 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/0.2323, allocations: 15.98 kB / 0.9823 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.2324, allocations: 11.89 kB / 0.9824 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.2325, allocations: 19.89 kB / 0.9824 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.954e-05/0.2326, allocations: 4 kB / 0.9824 GB, free: 23.81 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.0001004/0.2327, allocations: 117.8 kB / 0.9825 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.034e-05/0.2327, allocations: 7.906 kB / 0.9825 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.537e-05/0.2327, allocations: 12.38 kB / 0.9825 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.2328, allocations: 0 / 0.9825 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.2328, allocations: 0 / 0.9825 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.2328, allocations: 11.88 kB / 0.9825 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006363/0.2334, allocations: 382.4 kB / 0.9829 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.2334, allocations: 0 / 0.9829 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.377e-05/0.2336, allocations: 11.98 kB / 0.9829 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.391e-06/0.2336, allocations: 0 / 0.9829 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.2336, allocations: 0 / 0.9829 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.2336, allocations: 7.953 kB / 0.9829 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2336, allocations: 0 / 0.9829 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004123/0.234, allocations: 215.7 kB / 0.9831 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.084e-05/0.2341, allocations: 85.02 kB / 0.9832 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.2341, allocations: 0 / 0.9832 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.2343, allocations: 15.98 kB / 0.9832 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.593e-05/0.2343, allocations: 7.938 kB / 0.9832 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.2343, allocations: 4 kB / 0.9832 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.248e-05/0.2344, allocations: 95.42 kB / 0.9833 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2344, allocations: 0 / 0.9833 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003672/0.2348, allocations: 16 kB / 0.9833 GB, free: 22.75 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.0007195/0.2355, allocations: 0.7632 MB / 0.9841 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004209/0.236, allocations: 87.88 kB / 0.9842 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.236, allocations: 0 / 0.9842 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001801/0.2362, allocations: 36.42 kB / 0.9842 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.2365, allocations: 19.94 kB / 0.9842 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008252/0.2373, allocations: 1.304 MB / 0.9855 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001518/0.2375, allocations: 0.6887 MB / 0.9862 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.14e-05/0.2376, allocations: 11.98 kB / 0.9862 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.644e-05/0.2376, allocations: 19.44 kB / 0.9862 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of SimCode: time 9.72e-07/0.2376, allocations: 0 / 0.9862 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02166/0.2593, allocations: 1.79 MB / 0.9879 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002807/0.2597, allocations: 219.2 kB / 0.9881 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.438/2.698, 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.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)