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.Less.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.Less,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Less",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.285/1.285, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.0009015/0.0009012, allocations: 176.1 kB / 325.8 MB, free: 2.695 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.339/1.339, allocations: 205 MB / 0.576 GB, free: 21.01 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.0006534/0.0006534, allocations: 94.28 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000292/0.0002921, allocations: 11.88 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1505, allocations: 105.4 MB / 0.8962 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Less): time 0.00119/0.1518, allocations: 1.16 MB / 0.8973 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002187/0.152, allocations: 117.3 kB / 0.8975 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.999e-05/0.152, allocations: 4 kB / 0.8975 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.902e-05/0.1521, allocations: 0 / 0.8975 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.821e-05/0.1521, allocations: 3.938 kB / 0.8975 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.396e-05/0.1522, allocations: 15.98 kB / 0.8975 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.595e-05/0.1523, allocations: 39.86 kB / 0.8975 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.763e-05/0.1523, allocations: 8.266 kB / 0.8975 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.082e-05/0.1524, allocations: 19.92 kB / 0.8975 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.513e-05/0.1524, allocations: 15.92 kB / 0.8976 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.1525, allocations: 7.984 kB / 0.8976 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.205e-06/0.1525, allocations: 4 kB / 0.8976 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.1525, allocations: 7.938 kB / 0.8976 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.226e-05/0.1525, allocations: 15.92 kB / 0.8976 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.515e-05/0.1526, allocations: 35.81 kB / 0.8976 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.1526, allocations: 0 / 0.8976 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1526, allocations: 0 / 0.8976 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.1526, allocations: 0 / 0.8976 GB, free: 66.59 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003702/0.153, allocations: 375.4 kB / 0.898 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.153, allocations: 8.031 kB / 0.898 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.422e-05/0.153, allocations: 30.75 kB / 0.898 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.892e-05/0.1531, allocations: 8.875 kB / 0.898 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.166e-05/0.1531, allocations: 168.3 kB / 0.8982 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-06/0.1531, allocations: 8.312 kB / 0.8982 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.604e-06/0.1532, allocations: 8.375 kB / 0.8982 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.1534, allocations: 74.22 kB / 0.8983 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.1534, allocations: 3.938 kB / 0.8983 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.1534, allocations: 4 kB / 0.8983 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1534, allocations: 0 / 0.8983 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002442/0.1537, allocations: 87.92 kB / 0.8984 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00025/0.1539, allocations: 272.9 kB / 0.8986 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.1541, allocations: 74.47 kB / 0.8987 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.1542, allocations: 48.92 kB / 0.8988 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.989e-06/0.1542, allocations: 0 / 0.8988 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.235e-05/0.1543, allocations: 34.56 kB / 0.8988 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.1543, allocations: 0 / 0.8988 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0004386/0.1547, allocations: 165.4 kB / 0.8989 GB, free: 65.06 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.932e-05/0.1547, allocations: 51.41 kB / 0.899 GB, free: 65 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.122e-05/0.1548, allocations: 113.8 kB / 0.8991 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.452e-06/0.1548, allocations: 29.7 kB / 0.8991 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.984e-05/0.1548, allocations: 84.14 kB / 0.8992 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.1548, allocations: 15.83 kB / 0.8992 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.819e-05/0.1549, allocations: 13.66 kB / 0.8992 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.493e-05/0.1549, allocations: 314.8 kB / 0.8995 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.155, allocations: 47.95 kB / 0.8996 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.1552, allocations: 39.97 kB / 0.8996 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002278/0.1554, allocations: 92.98 kB / 0.8997 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1554, allocations: 0 / 0.8997 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002539/0.1557, allocations: 125.5 kB / 0.8998 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.1557, allocations: 4 kB / 0.8998 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.1557, allocations: 4 kB / 0.8998 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.1557, allocations: 0 / 0.8998 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.1558, allocations: 19.98 kB / 0.8999 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.1558, allocations: 0 / 0.8999 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.485e-05/0.1559, allocations: 19.97 kB / 0.8999 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.1559, allocations: 12 kB / 0.8999 GB, free: 64.04 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 (less1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.21e-05/0.156, allocations: 109.8 kB / 0.9 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.145e-05/0.156, allocations: 7.938 kB / 0.9 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.724e-05/0.156, allocations: 7.906 kB / 0.9 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.156, allocations: 4 kB / 0.9 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.156, allocations: 0 / 0.9 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.156, allocations: 0 / 0.9 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.989e-05/0.1561, allocations: 173.6 kB / 0.9002 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.1561, allocations: 0 / 0.9002 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.997e-05/0.1562, allocations: 23.98 kB / 0.9002 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1562, allocations: 0 / 0.9002 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.1562, allocations: 0 / 0.9002 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1563, allocations: 0 / 0.9002 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1563, allocations: 0 / 0.9002 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.1565, allocations: 227.2 kB / 0.9004 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.474e-05/0.1566, allocations: 81.11 kB / 0.9005 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.1566, allocations: 4 kB / 0.9005 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.1567, allocations: 19.98 kB / 0.9005 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.671e-05/0.1567, allocations: 7.984 kB / 0.9005 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.1567, allocations: 0 / 0.9005 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.26e-05/0.1568, allocations: 95.56 kB / 0.9006 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1568, allocations: 0 / 0.9006 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001879/0.157, allocations: 4 kB / 0.9006 GB, free: 63.19 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 (less1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0004337/0.1574, allocations: 0.7601 MB / 0.9014 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002683/0.1577, allocations: 91.92 kB / 0.9014 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.1577, allocations: 0 / 0.9014 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.1578, allocations: 43.97 kB / 0.9015 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.1581, allocations: 11.94 kB / 0.9015 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003212/0.1584, allocations: 164.7 kB / 0.9017 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.119e-05/0.1585, allocations: 0.6848 MB / 0.9023 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.525e-05/0.1585, allocations: 0 / 0.9023 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.315e-05/0.1585, allocations: 19.42 kB / 0.9023 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of SimCode: time 2.9e-07/0.1586, allocations: 0 / 0.9023 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06913/0.2277, allocations: 1.346 MB / 0.9037 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001436/0.2279, allocations: 214 kB / 0.9039 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.838/2.066, allocations: 4 kB / 0.9039 GB, free: 59.88 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Less_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Less.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1)