Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.261/1.261, allocations: 251.5 MB / 266.7 MB, free: 11.08 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009423/0.0009424, allocations: 171.5 kB / 325.8 MB, free: 2.73 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 205 MB / 0.576 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006398/0.0006399, allocations: 90.34 kB / 0.6797 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003039/0.0003039, allocations: 15.42 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1661, allocations: 105.4 MB / 0.8962 GB, free: 68.13 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.001222/0.1674, allocations: 1.106 MB / 0.8973 GB, free: 67.01 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002151/0.1676, allocations: 104.5 kB / 0.8974 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.771e-05/0.1676, allocations: 0 / 0.8974 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.771e-05/0.1677, allocations: 0 / 0.8974 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.614e-05/0.1677, allocations: 0 / 0.8974 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.563e-05/0.1678, allocations: 15.98 kB / 0.8974 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.521e-05/0.1678, allocations: 19.94 kB / 0.8974 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.442e-05/0.1679, allocations: 11.97 kB / 0.8975 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.95e-05/0.168, allocations: 7.938 kB / 0.8975 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.449e-05/0.168, allocations: 7.984 kB / 0.8975 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.168, allocations: 4 kB / 0.8975 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.823e-06/0.1681, allocations: 0 / 0.8975 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.257e-05/0.1681, allocations: 7.875 kB / 0.8975 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.866e-05/0.1681, allocations: 8 kB / 0.8975 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.262e-05/0.1682, allocations: 20.17 kB / 0.8975 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.1682, allocations: 4 kB / 0.8975 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1682, allocations: 0 / 0.8975 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.1682, allocations: 0 / 0.8975 GB, free: 66.8 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003243/0.1685, allocations: 344.3 kB / 0.8978 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.1685, allocations: 8.031 kB / 0.8978 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.423e-05/0.1686, allocations: 34.75 kB / 0.8979 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.965e-05/0.1686, allocations: 8.844 kB / 0.8979 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.469e-05/0.1687, allocations: 164.4 kB / 0.898 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.1687, allocations: 8.375 kB / 0.8981 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.956e-06/0.1687, allocations: 384 / 0.8981 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.1688, allocations: 58.22 kB / 0.8981 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.1689, allocations: 3.938 kB / 0.8981 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.1689, allocations: 0 / 0.8981 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1689, allocations: 3.938 kB / 0.8981 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001438/0.169, allocations: 47.91 kB / 0.8982 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002451/0.1693, allocations: 257 kB / 0.8984 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.1694, allocations: 50.44 kB / 0.8985 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.467e-05/0.1695, allocations: 32.89 kB / 0.8985 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.1695, allocations: 0 / 0.8985 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.223e-05/0.1695, allocations: 34.56 kB / 0.8985 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.1695, allocations: 0 / 0.8985 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002785/0.1698, allocations: 101.7 kB / 0.8986 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.819e-05/0.1698, allocations: 55.41 kB / 0.8987 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.61e-05/0.1699, allocations: 101.9 kB / 0.8988 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.232e-06/0.1699, allocations: 25.7 kB / 0.8988 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.292e-05/0.1699, allocations: 92.03 kB / 0.8989 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.194e-05/0.1699, allocations: 3.938 kB / 0.8989 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.695e-05/0.17, allocations: 9.719 kB / 0.8989 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.849e-05/0.17, allocations: 314.8 kB / 0.8992 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.247e-05/0.1701, allocations: 24.02 kB / 0.8992 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.428e-05/0.1702, allocations: 19.98 kB / 0.8992 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.1703, allocations: 56.81 kB / 0.8993 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1703, allocations: 3.938 kB / 0.8993 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001545/0.1705, allocations: 85.56 kB / 0.8994 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.1705, allocations: 4 kB / 0.8994 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.1705, allocations: 0 / 0.8994 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.1705, allocations: 0 / 0.8994 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.174e-05/0.1706, allocations: 8 kB / 0.8994 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.1706, allocations: 0 / 0.8994 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.091e-05/0.1706, allocations: 11.98 kB / 0.8994 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.1707, allocations: 0 / 0.8994 GB, free: 64.63 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (lesThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 4.645e-05/0.1707, allocations: 121.8 kB / 0.8995 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.976e-05/0.1707, allocations: 0 / 0.8995 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.537e-05/0.1708, allocations: 7.109 kB / 0.8995 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.1708, allocations: 0 / 0.8995 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.1708, allocations: 4 kB / 0.8995 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-06/0.1708, allocations: 0 / 0.8995 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.379e-05/0.1709, allocations: 157.6 kB / 0.8997 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1709, allocations: 7.875 kB / 0.8997 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.928e-05/0.1709, allocations: 15.98 kB / 0.8997 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.1709, allocations: 0 / 0.8997 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.171, allocations: 0 / 0.8997 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.171, allocations: 0 / 0.8997 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.171, allocations: 0 / 0.8997 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001747/0.1711, allocations: 179.5 kB / 0.8999 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.582e-05/0.1712, allocations: 81.02 kB / 0.8999 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.1712, allocations: 0 / 0.8999 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.182e-05/0.1713, allocations: 11.98 kB / 0.9 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-05/0.1713, allocations: 7.922 kB / 0.9 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.1713, allocations: 4 kB / 0.9 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.006e-05/0.1713, allocations: 87.56 kB / 0.9001 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1713, allocations: 0 / 0.9001 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001786/0.1715, allocations: 4 kB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (lesThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0003363/0.1719, allocations: 0.7124 MB / 0.9007 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001724/0.172, allocations: 51.98 kB / 0.9008 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1721, allocations: 0 / 0.9008 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.221e-05/0.1721, allocations: 27.92 kB / 0.9008 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.1724, allocations: 4 kB / 0.9008 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003055/0.1727, allocations: 137.1 kB / 0.901 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.314e-05/0.1728, allocations: 0.677 MB / 0.9016 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.971e-05/0.1728, allocations: 0 / 0.9016 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.783e-05/0.1728, allocations: 11.44 kB / 0.9016 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of SimCode: time 3.11e-07/0.1728, allocations: 4 kB / 0.9016 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2657/0.4385, allocations: 1.095 MB / 0.9027 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001657/0.4387, allocations: 233.1 kB / 0.9029 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.395/1.834, allocations: 0 / 0.9029 GB, free: 60.96 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe 2>&1)