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.Min.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.Min,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",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.244/1.244, allocations: 251.5 MB / 266.7 MB, free: 11.03 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.000981/0.0009811, allocations: 176.6 kB / 325.8 MB, free: 2.688 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.401/1.401, 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.0007216/0.0007213, allocations: 84.62 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002877/0.0002878, allocations: 14.41 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1558, allocations: 105.4 MB / 0.8962 GB, free: 68.03 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Min): time 0.00136/0.1572, allocations: 1.148 MB / 0.8973 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003052/0.1576, allocations: 129.3 kB / 0.8975 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.148e-05/0.1576, allocations: 0 / 0.8975 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.665e-05/0.1577, allocations: 0 / 0.8975 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.74e-05/0.1577, allocations: 7.922 kB / 0.8975 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 9.981e-05/0.1579, allocations: 12 kB / 0.8975 GB, free: 66.72 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.489e-05/0.1579, allocations: 43.84 kB / 0.8975 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.1581, allocations: 4.281 kB / 0.8975 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.718e-05/0.1581, allocations: 19.92 kB / 0.8976 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.071e-05/0.1582, allocations: 19.92 kB / 0.8976 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.1582, allocations: 0 / 0.8976 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.194e-05/0.1582, allocations: 4 kB / 0.8976 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.881e-05/0.1583, allocations: 15.91 kB / 0.8976 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.761e-05/0.1583, allocations: 11.94 kB / 0.8976 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.843e-05/0.1584, allocations: 39.8 kB / 0.8976 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1584, allocations: 0 / 0.8976 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1584, allocations: 0 / 0.8976 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.1584, allocations: 0 / 0.8976 GB, free: 66.57 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.00039/0.1588, allocations: 367.4 kB / 0.898 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.1588, allocations: 15.97 kB / 0.898 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.04e-05/0.1589, allocations: 30.75 kB / 0.898 GB, free: 66.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.499e-05/0.1589, allocations: 4.938 kB / 0.898 GB, free: 66.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.072e-05/0.159, allocations: 172.3 kB / 0.8982 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.159, allocations: 12.31 kB / 0.8982 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.159, allocations: 384 / 0.8982 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.1592, allocations: 78.22 kB / 0.8983 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.1592, allocations: 3.938 kB / 0.8983 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.1593, allocations: 0 / 0.8983 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1593, allocations: 0 / 0.8983 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000252/0.1595, allocations: 91.92 kB / 0.8984 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000264/0.1598, allocations: 268.9 kB / 0.8986 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.16, allocations: 74.47 kB / 0.8987 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.1601, allocations: 48.86 kB / 0.8988 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.1601, allocations: 4 kB / 0.8988 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.604e-05/0.1602, allocations: 34.56 kB / 0.8988 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.1602, allocations: 0 / 0.8988 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0004683/0.1606, allocations: 161.5 kB / 0.8989 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.063e-05/0.1607, allocations: 59.34 kB / 0.899 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.197e-05/0.1607, allocations: 109.8 kB / 0.8991 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.063e-06/0.1607, allocations: 25.7 kB / 0.8991 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.405e-05/0.1608, allocations: 88.14 kB / 0.8992 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.497e-05/0.1608, allocations: 11.84 kB / 0.8992 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.828e-05/0.1608, allocations: 9.719 kB / 0.8992 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.918e-05/0.1609, allocations: 314.8 kB / 0.8995 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.161, allocations: 43.97 kB / 0.8996 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.1611, allocations: 43.95 kB / 0.8996 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002401/0.1614, allocations: 100.7 kB / 0.8997 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1614, allocations: 0 / 0.8997 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002743/0.1617, allocations: 125.5 kB / 0.8998 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.1617, allocations: 4 kB / 0.8998 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1617, allocations: 4 kB / 0.8998 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.1617, allocations: 0 / 0.8998 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.1618, allocations: 23.98 kB / 0.8999 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.1618, allocations: 0 / 0.8999 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.393e-05/0.1619, allocations: 23.97 kB / 0.8999 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-06/0.162, allocations: 3.938 kB / 0.8999 GB, free: 64.02 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: 0 () * 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.784e-05/0.162, allocations: 117.8 kB / 0.9 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.162, allocations: 0 / 0.9 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003139/0.1624, allocations: 129.8 kB / 0.9001 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1624, allocations: 0 / 0.9001 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1624, allocations: 3.938 kB / 0.9001 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1624, allocations: 4.031 kB / 0.9001 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.1625, allocations: 169.6 kB / 0.9003 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1625, allocations: 0 / 0.9003 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.677e-05/0.1626, allocations: 27.97 kB / 0.9003 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1626, allocations: 0 / 0.9003 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.1626, allocations: 0 / 0.9003 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1626, allocations: 0 / 0.9003 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1626, allocations: 4 kB / 0.9003 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002938/0.1629, allocations: 219.3 kB / 0.9005 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.926e-05/0.1629, allocations: 81.09 kB / 0.9006 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.163, allocations: 0 / 0.9006 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.727e-05/0.1631, allocations: 19.98 kB / 0.9006 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/0.1631, allocations: 7.984 kB / 0.9006 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.1631, allocations: 3.938 kB / 0.9006 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.672e-05/0.1632, allocations: 87.58 kB / 0.9007 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.1632, allocations: 3.938 kB / 0.9007 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001918/0.1634, allocations: 8 kB / 0.9007 GB, free: 63.04 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: 0 () * 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.0004771/0.1638, allocations: 0.7553 MB / 0.9015 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002814/0.1641, allocations: 95.92 kB / 0.9016 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1641, allocations: 0 / 0.9016 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.1643, allocations: 51.89 kB / 0.9016 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.1645, allocations: 4 kB / 0.9016 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000353/0.1649, allocations: 164.8 kB / 0.9018 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001016/0.165, allocations: 0.6809 MB / 0.9024 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.708e-05/0.1651, allocations: 4 kB / 0.9024 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.588e-05/0.1651, allocations: 15.44 kB / 0.9025 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of SimCode: time 2.91e-07/0.1651, allocations: 0 / 0.9025 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07522/0.2403, allocations: 1.309 MB / 0.9037 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000177/0.2406, allocations: 210.4 kB / 0.9039 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.544/1.785, allocations: 4 kB / 0.9039 GB, free: 59.77 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Min.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe 2>&1)