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.001265/0.001265, allocations: 105.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 186.3 kB / 16.64 MB, free: 6.594 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.477/1.477, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.732/1.732, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001556/0.001556, allocations: 70.86 kB / 0.6718 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2327, allocations: 114.5 MB / 0.7837 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt): time 0.002374/0.2351, allocations: 0.671 MB / 0.7843 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.2361, allocations: 0.8048 MB / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.428e-05/0.2362, allocations: 0 / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.519e-05/0.2362, allocations: 3.938 kB / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.909e-05/0.2363, allocations: 0 / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001513/0.2365, allocations: 11.92 kB / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.762e-05/0.2365, allocations: 23.98 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.2367, allocations: 4 kB / 0.7851 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.76e-05/0.2367, allocations: 11.94 kB / 0.7852 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.3e-05/0.2368, allocations: 15.92 kB / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.2368, allocations: 4 kB / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.044e-05/0.2368, allocations: 0 / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.306e-05/0.2369, allocations: 7.984 kB / 0.7852 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.836e-05/0.2369, allocations: 11.92 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.077e-05/0.237, allocations: 19.91 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.237, allocations: 0 / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.324e-06/0.237, allocations: 0 / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.237, allocations: 0 / 0.7852 GB, free: 11.62 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.0004814/0.2375, allocations: 343.7 kB / 0.7855 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.2375, allocations: 12.03 kB / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.85e-05/0.2376, allocations: 38.69 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.422e-05/0.2376, allocations: 0.9375 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.2378, allocations: 164.4 kB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.2378, allocations: 384 / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.2378, allocations: 384 / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.238, allocations: 54.17 kB / 0.7858 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.238, allocations: 7.938 kB / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.2381, allocations: 0 / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.2381, allocations: 0 / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001608/0.2382, allocations: 35.95 kB / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003728/0.2386, allocations: 244.8 kB / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.2388, allocations: 46.53 kB / 0.7861 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.079e-05/0.2389, allocations: 20.91 kB / 0.7861 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.2389, allocations: 7.938 kB / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.2389, allocations: 30.56 kB / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.2389, allocations: 0 / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003691/0.2393, allocations: 81.64 kB / 0.7863 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.2393, allocations: 51.41 kB / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.815e-05/0.2394, allocations: 101.8 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.2395, allocations: 29.64 kB / 0.7864 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.103e-05/0.2395, allocations: 84.14 kB / 0.7865 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.2396, allocations: 7.906 kB / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.999e-05/0.2396, allocations: 9.719 kB / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.2397, allocations: 319 kB / 0.7868 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.417e-05/0.2398, allocations: 23.91 kB / 0.7869 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.767e-05/0.2399, allocations: 11.98 kB / 0.7869 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.2401, allocations: 40.83 kB / 0.7869 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.2401, allocations: 3.938 kB / 0.7869 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001866/0.2403, allocations: 69.72 kB / 0.787 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.2403, allocations: 4 kB / 0.787 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.2403, allocations: 0 / 0.787 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.2403, allocations: 0 / 0.787 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.778e-05/0.2404, allocations: 11.98 kB / 0.787 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.2404, allocations: 0 / 0.787 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.627e-05/0.2405, allocations: 7.984 kB / 0.787 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.2405, allocations: 0 / 0.787 GB, free: 9.559 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 7.692e-05/0.2406, allocations: 117.8 kB / 0.7871 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/0.2406, allocations: 8 kB / 0.7871 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.919e-05/0.2406, allocations: 7.312 kB / 0.7871 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.2407, allocations: 3.984 kB / 0.7871 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2407, allocations: 0 / 0.7871 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.2407, allocations: 0 / 0.7871 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.2408, allocations: 169.4 kB / 0.7873 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2408, allocations: 0 / 0.7873 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.36e-05/0.2409, allocations: 8 kB / 0.7873 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.2409, allocations: 4 kB / 0.7873 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.2409, allocations: 0 / 0.7873 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2409, allocations: 0 / 0.7873 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.2409, allocations: 3.984 kB / 0.7873 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000244/0.2412, allocations: 159.5 kB / 0.7875 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.963e-05/0.2412, allocations: 89.03 kB / 0.7875 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.2413, allocations: 4.031 kB / 0.7875 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.237e-05/0.2413, allocations: 4 kB / 0.7875 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.519e-05/0.2414, allocations: 7.922 kB / 0.7876 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.2414, allocations: 0 / 0.7876 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.356e-05/0.2415, allocations: 87.22 kB / 0.7876 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2415, allocations: 0 / 0.7876 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002075/0.2417, allocations: 4 kB / 0.7876 GB, free: 8.797 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.0006214/0.2423, allocations: 0.6968 MB / 0.7883 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002148/0.2425, allocations: 39.89 kB / 0.7884 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2426, allocations: 0 / 0.7884 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.235e-05/0.2426, allocations: 20.08 kB / 0.7884 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.243, allocations: 4.938 kB / 0.7884 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004612/0.2434, allocations: 143 kB / 0.7885 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.2437, allocations: 0.6768 MB / 0.7892 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.241e-05/0.2437, allocations: 0 / 0.7892 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.613e-05/0.2438, allocations: 7.438 kB / 0.7892 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2438, allocations: 64 / 0.7892 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01803/0.2618, allocations: 1.264 MB / 0.7904 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.725/7.986, allocations: 14.09 kB / 0.7904 GB, free: 5.926 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-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)