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.Exp.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.Exp,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp",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.248/1.248, 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.0008924/0.0008926, allocations: 166.2 kB / 325.8 MB, free: 2.719 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.375/1.375, allocations: 205 MB / 0.576 GB, free: 21 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.0007449/0.0007451, allocations: 85.69 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002855/0.0002856, allocations: 12.09 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1642, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp): time 0.001245/0.1655, allocations: 1.11 MB / 0.8973 GB, free: 66.97 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002412/0.1658, allocations: 116.5 kB / 0.8974 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.8e-05/0.1658, allocations: 0 / 0.8974 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.994e-05/0.1659, allocations: 0 / 0.8974 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.217e-05/0.1659, allocations: 3.938 kB / 0.8974 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001091/0.166, allocations: 11.98 kB / 0.8974 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.541e-05/0.1661, allocations: 16 kB / 0.8974 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.247e-05/0.1662, allocations: 12.78 kB / 0.8975 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.963e-05/0.1662, allocations: 7.938 kB / 0.8975 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.126e-05/0.1663, allocations: 11.98 kB / 0.8975 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.1663, allocations: 0 / 0.8975 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.396e-06/0.1663, allocations: 7.938 kB / 0.8975 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.192e-05/0.1663, allocations: 0 / 0.8975 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.153e-05/0.1663, allocations: 7.938 kB / 0.8975 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.691e-05/0.1664, allocations: 24.17 kB / 0.8975 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1664, allocations: 0 / 0.8975 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.254e-06/0.1664, allocations: 4 kB / 0.8975 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.1664, allocations: 0 / 0.8975 GB, free: 66.75 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.0003161/0.1667, allocations: 343.5 kB / 0.8978 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.1668, allocations: 8.031 kB / 0.8979 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.38e-05/0.1668, allocations: 30.75 kB / 0.8979 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.024e-05/0.1668, allocations: 0.9375 kB / 0.8979 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.434e-05/0.1669, allocations: 172.3 kB / 0.898 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.1669, allocations: 384 / 0.898 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/0.1669, allocations: 384 / 0.8981 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.1671, allocations: 62.22 kB / 0.8981 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.1671, allocations: 3.938 kB / 0.8981 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.191e-06/0.1671, allocations: 4 kB / 0.8981 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1671, allocations: 0 / 0.8981 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001577/0.1673, allocations: 47.89 kB / 0.8982 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002251/0.1675, allocations: 249 kB / 0.8984 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.1676, allocations: 42.5 kB / 0.8984 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.561e-05/0.1677, allocations: 32.89 kB / 0.8985 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.1678, allocations: 0 / 0.8985 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.581e-05/0.1678, allocations: 38.56 kB / 0.8985 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.1678, allocations: 3.938 kB / 0.8985 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003086/0.1681, allocations: 97.64 kB / 0.8986 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.291e-05/0.1681, allocations: 51.41 kB / 0.8987 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.742e-05/0.1682, allocations: 101.8 kB / 0.8988 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.093e-06/0.1682, allocations: 25.7 kB / 0.8988 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.394e-05/0.1682, allocations: 84.12 kB / 0.8989 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.1682, allocations: 15.97 kB / 0.8989 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.038e-05/0.1683, allocations: 13.72 kB / 0.8989 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.339e-05/0.1683, allocations: 310.8 kB / 0.8992 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.428e-05/0.1684, allocations: 23.98 kB / 0.8992 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.515e-05/0.1685, allocations: 19.97 kB / 0.8992 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.1686, allocations: 52.83 kB / 0.8993 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1686, allocations: 3.938 kB / 0.8993 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001632/0.1688, allocations: 81.66 kB / 0.8994 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.1688, allocations: 4 kB / 0.8994 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.1688, allocations: 0 / 0.8994 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.1688, allocations: 0 / 0.8994 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.892e-05/0.1689, allocations: 15.98 kB / 0.8994 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.1689, allocations: 0 / 0.8994 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.413e-05/0.169, allocations: 12.03 kB / 0.8994 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-06/0.169, allocations: 0 / 0.8994 GB, free: 64.6 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 (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 5.114e-05/0.169, allocations: 113.8 kB / 0.8995 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.256e-05/0.1691, allocations: 7.891 kB / 0.8995 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001982/0.1693, allocations: 88.72 kB / 0.8996 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.1693, allocations: 0 / 0.8996 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1693, allocations: 3.938 kB / 0.8996 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1693, allocations: 0 / 0.8996 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.1694, allocations: 157.6 kB / 0.8997 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1694, allocations: 0 / 0.8997 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.354e-05/0.1695, allocations: 11.98 kB / 0.8998 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1695, allocations: 0 / 0.8998 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.1695, allocations: 8.031 kB / 0.8998 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1695, allocations: 0 / 0.8998 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1695, allocations: 0 / 0.8998 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.1697, allocations: 179.4 kB / 0.8999 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.67e-05/0.1697, allocations: 77.11 kB / 0.9 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.1697, allocations: 4 kB / 0.9 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.968e-05/0.1698, allocations: 11.98 kB / 0.9 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.485e-05/0.1699, allocations: 0 / 0.9 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.1699, allocations: 7.938 kB / 0.9 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.192e-05/0.1699, allocations: 83.45 kB / 0.9001 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.01e-07/0.1699, allocations: 0 / 0.9001 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001968/0.1701, allocations: 8.031 kB / 0.9001 GB, free: 63.75 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 (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.0003565/0.1705, allocations: 0.7124 MB / 0.9008 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001726/0.1706, allocations: 47.89 kB / 0.9009 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1707, allocations: 0 / 0.9009 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.373e-05/0.1707, allocations: 24.05 kB / 0.9009 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.171, allocations: 4.141 kB / 0.9009 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003497/0.1713, allocations: 135.7 kB / 0.901 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.467e-05/0.1715, allocations: 0.677 MB / 0.9017 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.187e-05/0.1715, allocations: 4.062 kB / 0.9017 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.049e-05/0.1715, allocations: 11.44 kB / 0.9017 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of SimCode: time 2.6e-07/0.1715, allocations: 0 / 0.9017 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01518/0.1867, allocations: 1.028 MB / 0.9027 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001399/0.1869, allocations: 210.4 kB / 0.9029 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.377/1.564, allocations: 0 / 0.9029 GB, free: 60.91 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe 2>&1)