Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Reals.Validation.Sqrt,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_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.008033/0.008034, allocations: 98.67 kB / 15.73 MB, free: 6.039 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.00225/0.00225, allocations: 202.2 kB / 16.68 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.858/2.858, allocations: 469.8 MB / 0.7425 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 67.91 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2877, allocations: 159.1 MB / 1.22 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001726/0.2895, allocations: 0.6556 MB / 1.221 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008826/0.2904, allocations: 0.8019 MB / 1.222 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.988e-05/0.2904, allocations: 0 / 1.222 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.832e-05/0.2905, allocations: 7.922 kB / 1.222 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.428e-05/0.2905, allocations: 3.938 kB / 1.222 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001147/0.2906, allocations: 8 kB / 1.222 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.031e-05/0.2907, allocations: 19.98 kB / 1.222 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.541e-05/0.2908, allocations: 11.94 kB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.602e-05/0.2909, allocations: 11.92 kB / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.723e-05/0.2909, allocations: 11.98 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.2909, allocations: 4 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.884e-06/0.2909, allocations: 0 / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.017e-05/0.291, allocations: 11.92 kB / 1.222 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.245e-05/0.291, allocations: 4 kB / 1.222 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 7.645e-05/0.2911, allocations: 19.91 kB / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2911, allocations: 0 / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.774e-06/0.2911, allocations: 3.938 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.2911, allocations: 0 / 1.222 GB, free: 12.66 MB / 0.9825 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.0004635/0.2916, allocations: 343.5 kB / 1.222 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.2916, allocations: 8.031 kB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.621e-05/0.2917, allocations: 34.75 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.739e-05/0.2917, allocations: 12.88 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.2918, allocations: 164.3 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.2918, allocations: 384 / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.2919, allocations: 384 / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.292, allocations: 54.17 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.2921, allocations: 3.938 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.2921, allocations: 4 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.138e-06/0.2921, allocations: 8 kB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.2923, allocations: 27.97 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003177/0.2926, allocations: 245 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.2927, allocations: 46.38 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.337e-05/0.2928, allocations: 28.91 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.2929, allocations: 7.969 kB / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.2929, allocations: 30.56 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.2929, allocations: 0 / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003499/0.2932, allocations: 73.78 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.2933, allocations: 59.39 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.143e-05/0.2934, allocations: 97.86 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.2934, allocations: 29.7 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.196e-05/0.2935, allocations: 88.09 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.496e-05/0.2935, allocations: 7.891 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/0.2935, allocations: 17.7 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.2937, allocations: 310.8 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.75e-05/0.2938, allocations: 19.98 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.71e-05/0.2938, allocations: 15.98 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.294, allocations: 40.81 kB / 1.223 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.294, allocations: 3.938 kB / 1.223 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001999/0.2942, allocations: 65.73 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.2943, allocations: 7.984 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.2943, allocations: 0 / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.2943, allocations: 4 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.318e-05/0.2944, allocations: 7.938 kB / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.2944, allocations: 0 / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.961e-05/0.2944, allocations: 7.984 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.2945, allocations: 0 / 1.224 GB, free: 10.59 MB / 0.9825 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 8.365e-05/0.2945, allocations: 117.8 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.162e-05/0.2946, allocations: 0 / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.114e-05/0.2946, allocations: 11.06 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.2946, allocations: 3.984 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2946, allocations: 0 / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.2946, allocations: 4 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.2948, allocations: 161.6 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2948, allocations: 0 / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.974e-05/0.2949, allocations: 7.984 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.2949, allocations: 0 / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.2949, allocations: 8 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2949, allocations: 3.938 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2949, allocations: 0 / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.2952, allocations: 167.4 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.41e-05/0.2952, allocations: 81.06 kB / 1.224 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.054e-05/0.2952, allocations: 0 / 1.224 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.384e-05/0.2953, allocations: 12.02 kB / 1.224 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-05/0.2954, allocations: 4 kB / 1.224 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.2954, allocations: 4 kB / 1.224 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.183e-05/0.2954, allocations: 83.27 kB / 1.224 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2954, allocations: 0 / 1.224 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002161/0.2956, allocations: 4 kB / 1.224 GB, free: 9.84 MB / 0.9825 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.0005948/0.2962, allocations: 0.6973 MB / 1.225 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002153/0.2965, allocations: 35.91 kB / 1.225 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2965, allocations: 0 / 1.225 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.16e-05/0.2966, allocations: 24.06 kB / 1.225 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.2969, allocations: 10.19 kB / 1.225 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003797/0.2972, allocations: 135 kB / 1.225 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.2976, allocations: 0.6768 MB / 1.226 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.042e-05/0.2976, allocations: 0 / 1.226 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.648e-05/0.2976, allocations: 11.44 kB / 1.226 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of SimCode: time 2.6e-07/0.2976, allocations: 0 / 1.226 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02096/0.3186, allocations: 1.278 MB / 1.227 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.393/7.712, allocations: 9.703 kB / 1.227 GB, free: 6.957 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches