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.001067/0.001067, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001687/0.001687, allocations: 194.3 kB / 16.14 MB, free: 6.707 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.27/1.27, allocations: 205.1 MB / 222 MB, free: 4.996 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.714/1.714, allocations: 292.3 MB / 0.5484 GB, free: 13.69 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.00138/0.00138, allocations: 68.81 kB / 0.671 GB, free: 26.64 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2275, allocations: 114.6 MB / 0.7828 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001978/0.2295, allocations: 0.8206 MB / 0.7836 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001133/0.2307, allocations: 1.075 MB / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.393e-05/0.2307, allocations: 0 / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.965e-05/0.2308, allocations: 0 / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.497e-05/0.2309, allocations: 19.84 kB / 0.7847 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002253/0.2311, allocations: 35.98 kB / 0.7847 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.701e-05/0.2312, allocations: 71.77 kB / 0.7848 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.597e-05/0.2313, allocations: 16.17 kB / 0.7848 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.353e-05/0.2314, allocations: 27.86 kB / 0.7848 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.283e-05/0.2314, allocations: 35.84 kB / 0.7849 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.2315, allocations: 3.984 kB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.43e-05/0.2315, allocations: 19.98 kB / 0.7849 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.087e-05/0.2315, allocations: 11.98 kB / 0.7849 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.389e-05/0.2316, allocations: 35.73 kB / 0.7849 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.2318, allocations: 75.97 kB / 0.785 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2318, allocations: 0 / 0.785 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2318, allocations: 0 / 0.785 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.2318, allocations: 4 kB / 0.785 GB, free: 11.63 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.0004867/0.2323, allocations: 375.3 kB / 0.7854 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.2323, allocations: 8.031 kB / 0.7854 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.541e-05/0.2324, allocations: 34.73 kB / 0.7854 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.889e-05/0.2324, allocations: 8.844 kB / 0.7854 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.2325, allocations: 176.2 kB / 0.7856 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.2325, allocations: 8.375 kB / 0.7856 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.2325, allocations: 4.375 kB / 0.7856 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.2327, allocations: 73.97 kB / 0.7857 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.2328, allocations: 0 / 0.7857 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.2328, allocations: 4 kB / 0.7857 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.2328, allocations: 0 / 0.7857 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/0.233, allocations: 47.89 kB / 0.7857 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005961/0.2336, allocations: 324.7 kB / 0.786 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.2337, allocations: 58.55 kB / 0.7861 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.757e-05/0.2338, allocations: 32.98 kB / 0.7861 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.2339, allocations: 4 kB / 0.7861 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001904/0.2341, allocations: 79.38 kB / 0.7862 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.2341, allocations: 4 kB / 0.7862 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003876/0.2345, allocations: 125.5 kB / 0.7863 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.2345, allocations: 59.39 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.564e-05/0.2346, allocations: 113.8 kB / 0.7865 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.2346, allocations: 41.64 kB / 0.7865 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.01e-05/0.2347, allocations: 92.03 kB / 0.7866 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.2347, allocations: 19.78 kB / 0.7866 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.991e-05/0.2348, allocations: 25.7 kB / 0.7867 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.151e-05/0.2349, allocations: 326.8 kB / 0.787 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.235, allocations: 27.98 kB / 0.787 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.2351, allocations: 73.98 kB / 0.7871 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.2353, allocations: 105.9 kB / 0.7872 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.2353, allocations: 0 / 0.7872 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002981/0.2356, allocations: 133.6 kB / 0.7873 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.2357, allocations: 15.94 kB / 0.7873 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.2357, allocations: 0 / 0.7873 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.2357, allocations: 4 kB / 0.7873 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.2358, allocations: 19.98 kB / 0.7873 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.2359, allocations: 7.938 kB / 0.7873 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.29e-05/0.2359, allocations: 11.89 kB / 0.7874 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.236, allocations: 4 kB / 0.7874 GB, free: 8.953 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 8.822e-05/0.2361, allocations: 121.1 kB / 0.7875 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.576e-05/0.2361, allocations: 11.91 kB / 0.7875 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.427e-05/0.2361, allocations: 12.38 kB / 0.7875 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.2361, allocations: 3.984 kB / 0.7875 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2361, allocations: 0 / 0.7875 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.2361, allocations: 0 / 0.7875 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004599/0.2366, allocations: 374.4 kB / 0.7879 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2366, allocations: 0 / 0.7879 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.615e-05/0.2367, allocations: 11.98 kB / 0.7879 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.2367, allocations: 0 / 0.7879 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.2367, allocations: 8 kB / 0.7879 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.2367, allocations: 3.938 kB / 0.7879 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2367, allocations: 0 / 0.7879 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.237, allocations: 199.3 kB / 0.7881 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.378e-05/0.237, allocations: 92.95 kB / 0.7882 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.2371, allocations: 3.984 kB / 0.7882 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.341e-05/0.2372, allocations: 7.938 kB / 0.7882 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.585e-05/0.2372, allocations: 7.984 kB / 0.7882 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.2372, allocations: 4 kB / 0.7882 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.422e-05/0.2373, allocations: 91.92 kB / 0.7883 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2373, allocations: 0 / 0.7883 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002523/0.2375, allocations: 16 kB / 0.7883 GB, free: 7.906 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.0005918/0.2381, allocations: 0.7443 MB / 0.789 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002516/0.2384, allocations: 80.25 kB / 0.7891 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2384, allocations: 0 / 0.7891 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.2385, allocations: 36.05 kB / 0.7891 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.2388, allocations: 19.86 kB / 0.7891 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.2403, allocations: 1.53 MB / 0.7906 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002005/0.2406, allocations: 0.6923 MB / 0.7913 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.661e-05/0.2406, allocations: 12 kB / 0.7913 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.2e-05/0.2406, allocations: 23.42 kB / 0.7914 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of SimCode: time 3.4e-07/0.2407, allocations: 0 / 0.7914 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01047/0.2511, allocations: 1.9 MB / 0.7932 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/0.2513, allocations: 234.7 kB / 0.7934 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.699/1.951, allocations: 0 / 0.7934 GB, free: 2.641 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)