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.001121/0.001121, allocations: 108 kB / 15.61 MB, free: 152 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.001274/0.001274, allocations: 196.4 kB / 16.53 MB, free: 6.664 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.382/1.382, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.688/1.688, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001502/0.001502, allocations: 73.52 kB / 0.6716 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2216, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt): time 0.001883/0.2235, allocations: 0.6634 MB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008321/0.2243, allocations: 0.801 MB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.01e-05/0.2244, allocations: 4 kB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.809e-05/0.2244, allocations: 0 / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.908e-05/0.2245, allocations: 3.938 kB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001131/0.2246, allocations: 11.98 kB / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.955e-05/0.2247, allocations: 23.88 kB / 0.785 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.358e-05/0.2248, allocations: 11.97 kB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.979e-05/0.2248, allocations: 8 kB / 0.785 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.528e-05/0.2249, allocations: 15.92 kB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.2249, allocations: 0 / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.198e-06/0.2249, allocations: 4 kB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.356e-05/0.2249, allocations: 4 kB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.349e-05/0.2249, allocations: 7.938 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.705e-05/0.225, allocations: 15.97 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.225, allocations: 3.984 kB / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.543e-06/0.225, allocations: 0 / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.225, allocations: 4 kB / 0.785 GB, free: 11.78 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.0003831/0.2254, allocations: 339.7 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.2255, allocations: 11.97 kB / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.819e-05/0.2255, allocations: 34.75 kB / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.471e-05/0.2255, allocations: 8.938 kB / 0.7854 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.2256, allocations: 164.4 kB / 0.7856 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.816e-06/0.2257, allocations: 4.312 kB / 0.7856 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.2257, allocations: 8.375 kB / 0.7856 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.2258, allocations: 46.22 kB / 0.7856 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.2259, allocations: 7.938 kB / 0.7856 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.2259, allocations: 7.938 kB / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.2259, allocations: 0 / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001543/0.226, allocations: 35.95 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002656/0.2263, allocations: 244.9 kB / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.2264, allocations: 46.44 kB / 0.7859 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.331e-05/0.2265, allocations: 24.89 kB / 0.786 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.2266, allocations: 0 / 0.786 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.2266, allocations: 30.56 kB / 0.786 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 7.32e-07/0.2266, allocations: 0 / 0.786 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003195/0.2269, allocations: 81.64 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.227, allocations: 55.34 kB / 0.7861 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.472e-05/0.227, allocations: 106 kB / 0.7862 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.2271, allocations: 25.7 kB / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.943e-05/0.2271, allocations: 84.12 kB / 0.7863 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.475e-05/0.2271, allocations: 3.906 kB / 0.7863 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.2272, allocations: 17.72 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.507e-05/0.2273, allocations: 310.8 kB / 0.7867 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.075e-05/0.2273, allocations: 15.98 kB / 0.7867 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.27e-05/0.2274, allocations: 23.97 kB / 0.7867 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.2276, allocations: 32.83 kB / 0.7867 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.2276, allocations: 3.938 kB / 0.7867 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001856/0.2278, allocations: 69.59 kB / 0.7868 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.2278, allocations: 4.938 kB / 0.7868 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.2278, allocations: 8.094 kB / 0.7868 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.2278, allocations: 0 / 0.7868 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.473e-05/0.2279, allocations: 11.98 kB / 0.7868 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.2279, allocations: 0 / 0.7868 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.624e-05/0.228, allocations: 4 kB / 0.7868 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.228, allocations: 3.938 kB / 0.7868 GB, free: 9.703 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.076e-05/0.2281, allocations: 113.8 kB / 0.7869 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.2281, allocations: 3.984 kB / 0.7869 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.127e-05/0.2281, allocations: 7.125 kB / 0.7869 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.2281, allocations: 0 / 0.7869 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.2281, allocations: 4 kB / 0.7869 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.2281, allocations: 0 / 0.7869 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.2283, allocations: 165.5 kB / 0.7871 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2283, allocations: 0 / 0.7871 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.737e-05/0.2284, allocations: 7.984 kB / 0.7871 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.2284, allocations: 4 kB / 0.7871 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.2284, allocations: 0 / 0.7871 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.2284, allocations: 0 / 0.7871 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2284, allocations: 4 kB / 0.7871 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.2286, allocations: 171.3 kB / 0.7873 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.234e-05/0.2287, allocations: 81.05 kB / 0.7874 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.2287, allocations: 0 / 0.7874 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.61e-05/0.2288, allocations: 11.98 kB / 0.7874 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.574e-05/0.2288, allocations: 4.031 kB / 0.7874 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.2288, allocations: 4 kB / 0.7874 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.391e-05/0.2289, allocations: 83.44 kB / 0.7875 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2289, allocations: 4 kB / 0.7875 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000204/0.2291, allocations: 0 / 0.7875 GB, free: 8.949 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.0005675/0.2296, allocations: 0.6968 MB / 0.7881 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002014/0.2299, allocations: 39.89 kB / 0.7882 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2299, allocations: 0 / 0.7882 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.023e-05/0.23, allocations: 19.98 kB / 0.7882 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.2302, allocations: 4.156 kB / 0.7882 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003785/0.2306, allocations: 143 kB / 0.7883 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.2309, allocations: 0.6768 MB / 0.789 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.888e-05/0.2309, allocations: 0 / 0.789 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.15e-05/0.2309, allocations: 11.44 kB / 0.789 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of SimCode: time 2.445e-06/0.2309, allocations: 0 / 0.789 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01607/0.247, allocations: 1.259 MB / 0.7902 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.298/7.545, allocations: 4.062 kB / 0.7902 GB, free: 6.078 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)