Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.955/1.955, allocations: 288.4 MB / 303.3 MB, free: 8.176 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.001098/0.001098, allocations: 184.5 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.812/1.812, allocations: 205.4 MB / 0.6307 GB, free: 9.973 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.0008959/0.0008958, allocations: 86.25 kB / 0.744 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003897/0.0003897, allocations: 12.56 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2396, allocations: 115.3 MB / 0.9797 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.0009187/0.2405, allocations: 465.9 kB / 0.9801 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.2418, allocations: 1.048 MB / 0.9811 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.52e-05/0.2419, allocations: 4 kB / 0.9811 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.975e-05/0.2419, allocations: 7.922 kB / 0.9811 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.811e-05/0.242, allocations: 11.92 kB / 0.9812 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003198/0.2423, allocations: 43.89 kB / 0.9812 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.369e-05/0.2425, allocations: 63.78 kB / 0.9813 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.2426, allocations: 12.19 kB / 0.9813 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.086e-05/0.2427, allocations: 19.92 kB / 0.9813 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.185e-05/0.2427, allocations: 31.89 kB / 0.9813 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.2428, allocations: 4 kB / 0.9813 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.782e-05/0.2428, allocations: 19.92 kB / 0.9813 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.43e-05/0.2428, allocations: 11.92 kB / 0.9814 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.608e-05/0.2429, allocations: 37.64 kB / 0.9814 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001016/0.243, allocations: 56.16 kB / 0.9814 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.243, allocations: 0 / 0.9814 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.675e-06/0.243, allocations: 0 / 0.9814 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.243, allocations: 0 / 0.9814 GB, free: 25.69 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.0005156/0.2436, allocations: 379 kB / 0.9818 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.2436, allocations: 16.02 kB / 0.9818 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.82e-05/0.2437, allocations: 30.56 kB / 0.9819 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/0.2437, allocations: 7.906 kB / 0.9819 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.75e-05/0.2438, allocations: 178.9 kB / 0.982 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.2438, allocations: 4 kB / 0.982 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.2438, allocations: 4 kB / 0.982 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.2441, allocations: 77.59 kB / 0.9821 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.2441, allocations: 4 kB / 0.9821 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.2441, allocations: 0 / 0.9821 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.2441, allocations: 0 / 0.9821 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/0.2443, allocations: 51.95 kB / 0.9822 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006092/0.2449, allocations: 332.6 kB / 0.9825 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.2451, allocations: 66.55 kB / 0.9825 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.573e-05/0.2452, allocations: 32.97 kB / 0.9826 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.087e-05/0.2452, allocations: 7.969 kB / 0.9826 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001971/0.2454, allocations: 83.38 kB / 0.9827 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.843e-06/0.2454, allocations: 0 / 0.9827 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003958/0.2458, allocations: 149.6 kB / 0.9828 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.2459, allocations: 55.36 kB / 0.9829 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.977e-05/0.246, allocations: 125.8 kB / 0.983 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.246, allocations: 29.7 kB / 0.983 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.512e-05/0.246, allocations: 92.05 kB / 0.9831 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.246, allocations: 27.72 kB / 0.9831 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-06/0.246, allocations: 0 / 0.9831 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.676e-05/0.2461, allocations: 314.8 kB / 0.9834 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.2462, allocations: 39.97 kB / 0.9835 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.2463, allocations: 81.86 kB / 0.9835 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.2465, allocations: 43.97 kB / 0.9836 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2465, allocations: 0 / 0.9836 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002713/0.2467, allocations: 141.5 kB / 0.9837 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.2468, allocations: 8 kB / 0.9837 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.2468, allocations: 0 / 0.9837 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.2468, allocations: 4.219 kB / 0.9837 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.2469, allocations: 31.92 kB / 0.9838 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.2469, allocations: 0 / 0.9838 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.687e-05/0.247, allocations: 19.84 kB / 0.9838 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.2471, allocations: 8 kB / 0.9838 GB, free: 23.04 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 7.342e-05/0.2471, allocations: 119.1 kB / 0.9839 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.275e-05/0.2471, allocations: 7.891 kB / 0.9839 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.441e-05/0.2472, allocations: 20.31 kB / 0.9839 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.2472, allocations: 0 / 0.9839 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2472, allocations: 0 / 0.9839 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2472, allocations: 0 / 0.9839 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003701/0.2476, allocations: 386.4 kB / 0.9843 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2476, allocations: 0 / 0.9843 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.221e-05/0.2476, allocations: 15.92 kB / 0.9843 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.2477, allocations: 0 / 0.9843 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.2477, allocations: 4 kB / 0.9843 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2477, allocations: 3.953 kB / 0.9843 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2477, allocations: 0 / 0.9843 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/0.2479, allocations: 207.4 kB / 0.9845 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.145e-05/0.248, allocations: 85 kB / 0.9846 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.248, allocations: 4 kB / 0.9846 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.866e-05/0.2481, allocations: 11.98 kB / 0.9846 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.296e-05/0.2481, allocations: 15.94 kB / 0.9846 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.2481, allocations: 0 / 0.9846 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.189e-05/0.2482, allocations: 95.2 kB / 0.9847 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2482, allocations: 0 / 0.9847 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002279/0.2484, allocations: 24 kB / 0.9847 GB, free: 21.96 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.0004726/0.2489, allocations: 0.7475 MB / 0.9855 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000251/0.2491, allocations: 95.94 kB / 0.9856 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2491, allocations: 0 / 0.9856 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.2493, allocations: 39.91 kB / 0.9856 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.2495, allocations: 16.86 kB / 0.9856 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000896/0.2504, allocations: 0.5957 MB / 0.9862 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.2506, allocations: 0.6962 MB / 0.9869 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.607e-05/0.2506, allocations: 11.77 kB / 0.9869 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.405e-05/0.2507, allocations: 19.44 kB / 0.9869 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2507, allocations: 0 / 0.9869 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01356/0.2642, allocations: 1.826 MB / 0.9887 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001681/0.2644, allocations: 236.8 kB / 0.9889 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.575/1.84, allocations: 0 / 0.9889 GB, free: 17.79 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime_fmu --startTime=-2 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1)