Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009685/0.0009685, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009975/0.0009975, allocations: 191.8 kB / 16.13 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.144/1.144, allocations: 205.1 MB / 222 MB, free: 4.781 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.49/1.49, allocations: 292.3 MB / 0.5484 GB, free: 13.67 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 79.64 kB / 0.671 GB, free: 26.48 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1594, allocations: 114.6 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt): time 0.00155/0.1609, allocations: 0.7166 MB / 0.7835 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000684/0.1616, allocations: 0.7971 MB / 0.7843 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.28e-05/0.1617, allocations: 0 / 0.7843 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.615e-05/0.1617, allocations: 4 kB / 0.7843 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.42e-05/0.1618, allocations: 3.938 kB / 0.7843 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001039/0.1619, allocations: 11.98 kB / 0.7843 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.693e-05/0.1619, allocations: 19.94 kB / 0.7843 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.155e-05/0.162, allocations: 15.92 kB / 0.7844 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.534e-05/0.162, allocations: 11.94 kB / 0.7844 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.961e-05/0.1621, allocations: 7.922 kB / 0.7844 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.1621, allocations: 4 kB / 0.7844 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.635e-06/0.1621, allocations: 0 / 0.7844 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.547e-05/0.1621, allocations: 8 kB / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.469e-05/0.1622, allocations: 11.92 kB / 0.7844 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.486e-05/0.1622, allocations: 19.95 kB / 0.7844 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.1622, allocations: 0 / 0.7844 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of FrontEnd: time 5.92e-07/0.1622, allocations: 0 / 0.7844 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.1622, allocations: 0 / 0.7844 GB, free: 12.24 MB / 0.6075 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.0003523/0.1626, allocations: 343.7 kB / 0.7847 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.1626, allocations: 12.03 kB / 0.7848 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.473e-05/0.1627, allocations: 30.75 kB / 0.7848 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.774e-05/0.1627, allocations: 4.938 kB / 0.7848 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.84e-05/0.1628, allocations: 164.4 kB / 0.7849 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.1628, allocations: 4.375 kB / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.095e-06/0.1628, allocations: 384 / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.163, allocations: 54.17 kB / 0.785 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.163, allocations: 3.938 kB / 0.785 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-06/0.163, allocations: 0 / 0.785 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-06/0.163, allocations: 0 / 0.785 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/0.1632, allocations: 39.95 kB / 0.785 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002526/0.1634, allocations: 244.9 kB / 0.7853 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.1635, allocations: 38.5 kB / 0.7853 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.787e-05/0.1636, allocations: 20.89 kB / 0.7853 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.1636, allocations: 11.94 kB / 0.7853 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.1637, allocations: 34.56 kB / 0.7854 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1637, allocations: 0 / 0.7854 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002993/0.164, allocations: 81.64 kB / 0.7855 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.164, allocations: 51.41 kB / 0.7855 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.838e-05/0.1641, allocations: 102 kB / 0.7856 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.1641, allocations: 29.7 kB / 0.7856 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.105e-05/0.1641, allocations: 84.12 kB / 0.7857 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.592e-05/0.1641, allocations: 11.91 kB / 0.7857 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.557e-05/0.1642, allocations: 9.719 kB / 0.7857 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.838e-05/0.1643, allocations: 310.8 kB / 0.786 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.707e-05/0.1644, allocations: 23.92 kB / 0.7861 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.203e-05/0.1644, allocations: 19.97 kB / 0.7861 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.1646, allocations: 36.83 kB / 0.7861 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.1646, allocations: 3.938 kB / 0.7861 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001675/0.1648, allocations: 69.66 kB / 0.7862 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.1648, allocations: 7.938 kB / 0.7862 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.1648, allocations: 0 / 0.7862 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.915e-06/0.1648, allocations: 4.094 kB / 0.7862 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.703e-05/0.1649, allocations: 11.98 kB / 0.7862 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.1649, allocations: 0 / 0.7862 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.357e-05/0.1649, allocations: 7.938 kB / 0.7862 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.1649, allocations: 0 / 0.7862 GB, free: 10.17 MB / 0.6075 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 6.088e-05/0.165, allocations: 117.7 kB / 0.7863 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.256e-05/0.165, allocations: 4 kB / 0.7863 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.032e-05/0.1651, allocations: 7.125 kB / 0.7863 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.1651, allocations: 4 kB / 0.7863 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.1651, allocations: 0 / 0.7863 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.674e-06/0.1651, allocations: 0 / 0.7863 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.1652, allocations: 161.5 kB / 0.7865 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1652, allocations: 0 / 0.7865 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.656e-05/0.1653, allocations: 11.98 kB / 0.7865 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.1653, allocations: 0 / 0.7865 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.1653, allocations: 0 / 0.7865 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1653, allocations: 0 / 0.7865 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1653, allocations: 3.984 kB / 0.7865 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/0.1655, allocations: 163.5 kB / 0.7867 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.482e-05/0.1656, allocations: 81.05 kB / 0.7867 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.1656, allocations: 11.98 kB / 0.7867 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.147e-05/0.1657, allocations: 4 kB / 0.7868 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.322e-05/0.1657, allocations: 3.938 kB / 0.7868 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.1657, allocations: 4.016 kB / 0.7868 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.894e-05/0.1657, allocations: 83.28 kB / 0.7868 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.1657, allocations: 0 / 0.7868 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001969/0.1659, allocations: 4 kB / 0.7868 GB, free: 9.418 MB / 0.6075 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.0004474/0.1664, allocations: 0.6929 MB / 0.7875 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001766/0.1666, allocations: 43.89 kB / 0.7876 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1666, allocations: 0 / 0.7876 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.563e-05/0.1667, allocations: 19.98 kB / 0.7876 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.1669, allocations: 2.812 kB / 0.7876 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003147/0.1672, allocations: 144.9 kB / 0.7877 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001958/0.1674, allocations: 0.6809 MB / 0.7884 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.932e-05/0.1674, allocations: 0 / 0.7884 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.62e-05/0.1675, allocations: 7.438 kB / 0.7884 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of SimCode: time 3.31e-07/0.1675, allocations: 3.938 kB / 0.7884 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2406/0.4081, allocations: 1.077 MB / 0.7894 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001842/0.4083, allocations: 202.6 kB / 0.7896 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.557/1.965, allocations: 4 kB / 0.7896 GB, free: 6.496 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe 2>&1)