Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart",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.0009403/0.0009405, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0008673/0.0008672, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.039/1.039, allocations: 143.3 MB / 434.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003171/0.0003171, allocations: 12 kB / 0.5159 GB, free: 11.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1887, allocations: 83.41 MB / 0.5974 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.001715/0.1904, allocations: 1.175 MB / 0.5985 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006402/0.1911, allocations: 419.3 kB / 0.5989 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.3e-05/0.1911, allocations: 0 / 0.5989 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.411e-05/0.1911, allocations: 3.938 kB / 0.5989 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.668e-05/0.1912, allocations: 4 kB / 0.5989 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001009/0.1913, allocations: 19.97 kB / 0.5989 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.177e-05/0.1914, allocations: 23.97 kB / 0.5989 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.618e-05/0.1915, allocations: 23.92 kB / 0.599 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.388e-05/0.1915, allocations: 11.98 kB / 0.599 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.054e-05/0.1916, allocations: 19.91 kB / 0.599 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.1916, allocations: 0 / 0.599 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.489e-05/0.1916, allocations: 4 kB / 0.599 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.547e-05/0.1916, allocations: 11.88 kB / 0.599 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.65e-05/0.1917, allocations: 41.62 kB / 0.5991 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 5.18e-05/0.1917, allocations: 20.23 kB / 0.5991 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.1918, allocations: 0 / 0.5991 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.854e-06/0.1918, allocations: 4 kB / 0.5991 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.1918, allocations: 0 / 0.5991 GB, free: 5.949 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004768/0.1923, allocations: 359.2 kB / 0.5994 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.1923, allocations: 8.031 kB / 0.5994 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.575e-05/0.1923, allocations: 34.56 kB / 0.5995 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.895e-05/0.1924, allocations: 7.906 kB / 0.5995 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.1925, allocations: 174.9 kB / 0.5996 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.1925, allocations: 12 kB / 0.5996 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.1925, allocations: 4 kB / 0.5997 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.1927, allocations: 49.69 kB / 0.5997 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.004e-06/0.1927, allocations: 0 / 0.5997 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.1927, allocations: 0 / 0.5997 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.1927, allocations: 11.97 kB / 0.5997 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.181e-05/0.1928, allocations: 27.92 kB / 0.5997 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004275/0.1932, allocations: 308.7 kB / 0.6 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.542e-05/0.1933, allocations: 54.59 kB / 0.6001 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.771e-06/0.1933, allocations: 0 / 0.6001 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001404/0.1935, allocations: 75.59 kB / 0.6002 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.1935, allocations: 0 / 0.6002 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002053/0.1937, allocations: 101.9 kB / 0.6003 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.1937, allocations: 59.39 kB / 0.6003 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.235e-05/0.1938, allocations: 101.9 kB / 0.6004 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.1938, allocations: 37.64 kB / 0.6004 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.796e-05/0.1939, allocations: 88.06 kB / 0.6005 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.1939, allocations: 23.66 kB / 0.6006 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.468e-05/0.194, allocations: 0 / 0.6006 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.1941, allocations: 326.8 kB / 0.6009 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.05e-05/0.1941, allocations: 12 kB / 0.6009 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.232e-05/0.1942, allocations: 47.36 kB / 0.6009 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.041e-05/0.1942, allocations: 20 kB / 0.6009 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1942, allocations: 0 / 0.6009 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001314/0.1944, allocations: 93.61 kB / 0.601 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.1944, allocations: 8.031 kB / 0.601 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.1944, allocations: 4 kB / 0.601 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.1944, allocations: 3.938 kB / 0.601 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.931e-05/0.1945, allocations: 15.98 kB / 0.6011 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.1945, allocations: 7.953 kB / 0.6011 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.639e-05/0.1946, allocations: 7.906 kB / 0.6011 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.1946, allocations: 4 kB / 0.6011 GB, free: 3.664 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 9.322e-05/0.1947, allocations: 119.7 kB / 0.6012 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.123e-05/0.1947, allocations: 11.94 kB / 0.6012 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.841e-05/0.1947, allocations: 7.969 kB / 0.6012 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1947, allocations: 0 / 0.6012 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1948, allocations: 0 / 0.6012 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.1948, allocations: 7.953 kB / 0.6012 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000379/0.1951, allocations: 362.4 kB / 0.6016 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1952, allocations: 4 kB / 0.6016 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.537e-05/0.1952, allocations: 4 kB / 0.6016 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.1952, allocations: 3.984 kB / 0.6016 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.1952, allocations: 288 / 0.6016 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/0.1952, allocations: 3.953 kB / 0.6016 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1952, allocations: 0 / 0.6016 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/0.1954, allocations: 179.5 kB / 0.6017 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.57e-05/0.1954, allocations: 96.92 kB / 0.6018 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.1955, allocations: 0 / 0.6018 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.322e-05/0.1955, allocations: 8 kB / 0.6018 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.1956, allocations: 15.94 kB / 0.6019 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.1956, allocations: 7.984 kB / 0.6019 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.783e-05/0.1956, allocations: 79.28 kB / 0.6019 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1957, allocations: 0 / 0.6019 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002296/0.1959, allocations: 16 kB / 0.602 GB, free: 2.652 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003955/0.1963, allocations: 0.7162 MB / 0.6027 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001286/0.1964, allocations: 55.86 kB / 0.6027 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1964, allocations: 0 / 0.6027 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.78e-05/0.1965, allocations: 23.98 kB / 0.6027 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001931/0.1967, allocations: 19.94 kB / 0.6028 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008634/0.1976, allocations: 0.9187 MB / 0.6037 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.1978, allocations: 0.6887 MB / 0.6043 GB, free: 124 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.885e-05/0.1979, allocations: 7.984 kB / 0.6043 GB, free: 116 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.265e-05/0.1979, allocations: 15.44 kB / 0.6043 GB, free: 100 kB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.1979, allocations: 0 / 0.6043 GB, free: 100 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3442/0.5422, allocations: 1.467 MB / 0.6058 GB, free: 40.15 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001554/0.5424, allocations: 204.6 kB / 0.606 GB, free: 39.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.676/2.219, allocations: 3.844 kB / 0.606 GB, free: 39.91 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) Environment - environmentSimulation: