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.Cos.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.Cos,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos",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.234/1.234, allocations: 251.5 MB / 266.7 MB, free: 11.02 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.0008149/0.0008149, allocations: 174.9 kB / 325.8 MB, free: 2.684 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.296/1.296, 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.0006864/0.0006864, allocations: 99.91 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002906/0.0002907, allocations: 13.84 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1601, 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.Cos): time 0.001163/0.1613, allocations: 1.102 MB / 0.8973 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002383/0.1616, allocations: 133.2 kB / 0.8974 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.597e-05/0.1616, allocations: 0 / 0.8974 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.759e-05/0.1617, allocations: 0 / 0.8974 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.666e-05/0.1617, allocations: 3.938 kB / 0.8974 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001299/0.1618, allocations: 11.98 kB / 0.8974 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.441e-05/0.1619, allocations: 19.98 kB / 0.8975 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.228e-05/0.162, allocations: 4 kB / 0.8975 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.894e-05/0.162, allocations: 15.86 kB / 0.8975 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.072e-05/0.1621, allocations: 4 kB / 0.8975 GB, free: 66.72 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.1621, allocations: 4 kB / 0.8975 GB, free: 66.72 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.793e-06/0.1621, allocations: 4 kB / 0.8975 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.235e-05/0.1621, allocations: 3.984 kB / 0.8975 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.055e-05/0.1621, allocations: 11.94 kB / 0.8975 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.162e-05/0.1622, allocations: 20.17 kB / 0.8975 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1622, allocations: 0 / 0.8975 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1622, allocations: 0 / 0.8975 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.1622, allocations: 0 / 0.8975 GB, free: 66.68 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.0002984/0.1625, allocations: 343.5 kB / 0.8979 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.1626, allocations: 8.031 kB / 0.8979 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.337e-05/0.1626, allocations: 30.75 kB / 0.8979 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.871e-05/0.1626, allocations: 4.938 kB / 0.8979 GB, free: 66.24 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.31e-05/0.1627, allocations: 168.3 kB / 0.8981 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.914e-06/0.1627, allocations: 384 / 0.8981 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.392e-06/0.1627, allocations: 384 / 0.8981 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.1629, allocations: 58.23 kB / 0.8981 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.1629, allocations: 11.88 kB / 0.8981 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-06/0.1629, allocations: 0 / 0.8981 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.1629, allocations: 0 / 0.8981 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.163, allocations: 39.97 kB / 0.8982 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002256/0.1633, allocations: 253 kB / 0.8984 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.1634, allocations: 38.5 kB / 0.8984 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.321e-05/0.1635, allocations: 28.91 kB / 0.8985 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.1635, allocations: 4 kB / 0.8985 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.187e-05/0.1635, allocations: 42.42 kB / 0.8985 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.1635, allocations: 0 / 0.8985 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002914/0.1638, allocations: 97.66 kB / 0.8986 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.857e-05/0.1638, allocations: 51.41 kB / 0.8987 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.246e-05/0.1639, allocations: 105.8 kB / 0.8988 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.642e-06/0.1639, allocations: 25.7 kB / 0.8988 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.178e-05/0.1639, allocations: 84.14 kB / 0.8989 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.306e-05/0.1639, allocations: 7.844 kB / 0.8989 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.695e-05/0.164, allocations: 9.719 kB / 0.8989 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.093e-05/0.164, allocations: 323 kB / 0.8992 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.043e-05/0.1641, allocations: 19.98 kB / 0.8992 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.256e-05/0.1642, allocations: 23.92 kB / 0.8992 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.1643, allocations: 52.88 kB / 0.8993 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1643, allocations: 7.938 kB / 0.8993 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001555/0.1645, allocations: 73.67 kB / 0.8994 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.837e-06/0.1645, allocations: 4 kB / 0.8994 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1645, allocations: 0 / 0.8994 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.417e-06/0.1645, allocations: 0 / 0.8994 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.582e-05/0.1646, allocations: 15.98 kB / 0.8994 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.1646, allocations: 3.984 kB / 0.8994 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.508e-05/0.1646, allocations: 16.02 kB / 0.8994 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.1646, allocations: 0 / 0.8994 GB, free: 64.53 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 4.291e-05/0.1647, allocations: 121.7 kB / 0.8995 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.097e-05/0.1647, allocations: 3.906 kB / 0.8995 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001846/0.1649, allocations: 80.78 kB / 0.8996 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1649, allocations: 192 / 0.8996 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.1649, allocations: 0 / 0.8996 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1649, allocations: 7.969 kB / 0.8996 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.328e-05/0.165, allocations: 157.6 kB / 0.8997 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.165, allocations: 0 / 0.8997 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.009e-05/0.1651, allocations: 11.98 kB / 0.8998 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1651, allocations: 4 kB / 0.8998 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.1651, allocations: 4 kB / 0.8998 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1651, allocations: 4.031 kB / 0.8998 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1651, allocations: 0 / 0.8998 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.1653, allocations: 175.4 kB / 0.8999 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.512e-05/0.1653, allocations: 81.14 kB / 0.9 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.1654, allocations: 4 kB / 0.9 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.679e-05/0.1654, allocations: 7.984 kB / 0.9 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.1655, allocations: 4 kB / 0.9 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.1655, allocations: 7.938 kB / 0.9 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.663e-05/0.1655, allocations: 75.28 kB / 0.9001 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1655, allocations: 7.938 kB / 0.9001 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001806/0.1657, allocations: 0 / 0.9001 GB, free: 63.69 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.0004046/0.1661, allocations: 0.724 MB / 0.9008 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001692/0.1663, allocations: 39.97 kB / 0.9009 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1663, allocations: 0 / 0.9009 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.287e-05/0.1664, allocations: 28.05 kB / 0.9009 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.1666, allocations: 9.016 kB / 0.9009 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002953/0.1669, allocations: 129 kB / 0.901 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.458e-05/0.167, allocations: 0.677 MB / 0.9017 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.829e-05/0.167, allocations: 0 / 0.9017 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.773e-05/0.167, allocations: 23.44 kB / 0.9017 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of SimCode: time 2.8e-07/0.1671, allocations: 0 / 0.9017 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.00914/0.1762, allocations: 1.017 MB / 0.9027 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001149/0.1763, allocations: 210.4 kB / 0.9029 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.528/1.705, allocations: 0.5 kB / 0.9029 GB, free: 60.84 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1)