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.0008092/0.0008094, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005153/0.005153, allocations: 170 kB / 16.26 MB, free: 6.613 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.268/1.268, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.728/1.728, allocations: 292.7 MB / 0.5502 GB, free: 14.43 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.0005056/0.0005054, allocations: 18.97 kB / 0.6745 GB, free: 25.65 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2006, allocations: 116.3 MB / 0.788 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.0008624/0.2015, allocations: 0.4894 MB / 0.7885 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.2027, allocations: 1.068 MB / 0.7895 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.927e-05/0.2028, allocations: 0 / 0.7895 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.823e-05/0.2028, allocations: 3.938 kB / 0.7895 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.593e-05/0.2029, allocations: 7.938 kB / 0.7895 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002449/0.2031, allocations: 47.89 kB / 0.7896 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.775e-05/0.2032, allocations: 67.78 kB / 0.7897 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.2033, allocations: 20.16 kB / 0.7897 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.778e-05/0.2034, allocations: 19.92 kB / 0.7897 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.568e-05/0.2035, allocations: 27.84 kB / 0.7897 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.2035, allocations: 4 kB / 0.7897 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.365e-05/0.2036, allocations: 23.91 kB / 0.7897 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.016e-05/0.2036, allocations: 11.98 kB / 0.7898 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.409e-05/0.2037, allocations: 57.52 kB / 0.7898 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.2038, allocations: 75.95 kB / 0.7899 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.2038, allocations: 3.984 kB / 0.7899 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.867e-06/0.2038, allocations: 0 / 0.7899 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.2038, allocations: 3.938 kB / 0.7899 GB, free: 9.496 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.0005182/0.2043, allocations: 363.3 kB / 0.7902 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.2044, allocations: 8.031 kB / 0.7902 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.845e-05/0.2044, allocations: 46.73 kB / 0.7903 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.755e-05/0.2045, allocations: 8.844 kB / 0.7903 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.89e-05/0.2046, allocations: 168.2 kB / 0.7905 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.2046, allocations: 4.375 kB / 0.7905 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.2046, allocations: 4.375 kB / 0.7905 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.2048, allocations: 81.91 kB / 0.7905 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.2048, allocations: 4 kB / 0.7906 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.2048, allocations: 0 / 0.7906 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.2048, allocations: 8 kB / 0.7906 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001785/0.205, allocations: 51.95 kB / 0.7906 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005775/0.2056, allocations: 336.7 kB / 0.7909 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.2058, allocations: 54.56 kB / 0.791 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.2059, allocations: 36.95 kB / 0.791 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.2059, allocations: 8 kB / 0.791 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001937/0.2061, allocations: 79.38 kB / 0.7911 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.2061, allocations: 0 / 0.7911 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004052/0.2066, allocations: 145.8 kB / 0.7912 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.2066, allocations: 51.41 kB / 0.7913 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.43e-05/0.2067, allocations: 133.7 kB / 0.7914 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.2067, allocations: 29.69 kB / 0.7914 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.278e-05/0.2068, allocations: 92.12 kB / 0.7915 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.2068, allocations: 19.75 kB / 0.7916 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.004e-05/0.2068, allocations: 25.64 kB / 0.7916 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.2069, allocations: 318.8 kB / 0.7919 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.2071, allocations: 35.97 kB / 0.7919 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.2072, allocations: 77.98 kB / 0.792 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002362/0.2074, allocations: 125.8 kB / 0.7921 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2074, allocations: 3.938 kB / 0.7921 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003065/0.2078, allocations: 141.6 kB / 0.7922 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.2078, allocations: 8 kB / 0.7923 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2078, allocations: 80 / 0.7923 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.2078, allocations: 4 kB / 0.7923 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.2079, allocations: 23.91 kB / 0.7923 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.208, allocations: 7.984 kB / 0.7923 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.025e-05/0.208, allocations: 8 kB / 0.7923 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.2081, allocations: 11.98 kB / 0.7923 GB, free: 6.746 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.336e-05/0.2082, allocations: 128.7 kB / 0.7924 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.287e-05/0.2082, allocations: 3.906 kB / 0.7924 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.487e-05/0.2082, allocations: 16.31 kB / 0.7925 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.2082, allocations: 0 / 0.7925 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.2082, allocations: 0 / 0.7925 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.331e-06/0.2082, allocations: 3.984 kB / 0.7925 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004443/0.2087, allocations: 390.3 kB / 0.7928 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2087, allocations: 0 / 0.7928 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.578e-05/0.2087, allocations: 15.92 kB / 0.7928 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2088, allocations: 0 / 0.7928 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.2088, allocations: 4 kB / 0.7928 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.2088, allocations: 3.938 kB / 0.7928 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2088, allocations: 4 kB / 0.7929 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002718/0.2091, allocations: 203.5 kB / 0.793 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.585e-05/0.2091, allocations: 81.02 kB / 0.7931 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.2091, allocations: 8 kB / 0.7931 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.284e-05/0.2092, allocations: 19.86 kB / 0.7932 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.479e-05/0.2093, allocations: 4 kB / 0.7932 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.2093, allocations: 3.984 kB / 0.7932 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.705e-05/0.2093, allocations: 91.28 kB / 0.7932 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2093, allocations: 0 / 0.7932 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002421/0.2096, allocations: 19.98 kB / 0.7933 GB, free: 5.664 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.0005718/0.2102, allocations: 0.7553 MB / 0.794 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002504/0.2104, allocations: 87.89 kB / 0.7941 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2104, allocations: 0 / 0.7941 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.2105, allocations: 48.34 kB / 0.7941 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.2108, allocations: 15.92 kB / 0.7941 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.2125, allocations: 1.563 MB / 0.7957 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.2128, allocations: 0.6923 MB / 0.7963 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.914e-05/0.2128, allocations: 4 kB / 0.7964 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.114e-05/0.2128, allocations: 23.42 kB / 0.7964 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.2128, allocations: 0 / 0.7964 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01073/0.2236, allocations: 1.829 MB / 0.7982 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002142/0.2238, allocations: 238 kB / 0.7984 GB, free: 448 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.667/1.891, allocations: 0 / 0.7984 GB, free: 448 kB / 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)