Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt,fileNamePrefix="Buildings_10_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.008966/0.008966, allocations: 98.77 kB / 15.73 MB, free: 6.066 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.002484/0.002484, allocations: 196 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.415/2.415, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 4.207/4.207, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.003321/0.003321, allocations: 67.89 kB / 1.018 GB, free: 9.871 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.349/1.352, allocations: 151.6 MB / 1.166 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.003334/1.356, allocations: 0.6769 MB / 1.167 GB, free: 3.113 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00179/1.358, allocations: 0.7962 MB / 1.168 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.203e-05/1.358, allocations: 0 / 1.168 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.047e-05/1.358, allocations: 3.938 kB / 1.168 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.577e-05/1.358, allocations: 7.938 kB / 1.168 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000186/1.358, allocations: 7.984 kB / 1.168 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001039/1.358, allocations: 20 kB / 1.168 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/1.358, allocations: 11.98 kB / 1.168 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.769e-05/1.359, allocations: 15.88 kB / 1.168 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.27e-05/1.359, allocations: 11.98 kB / 1.168 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/1.359, allocations: 0 / 1.168 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.441e-05/1.359, allocations: 4 kB / 1.168 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.018e-05/1.359, allocations: 7.922 kB / 1.168 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.669e-05/1.359, allocations: 4 kB / 1.168 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001206/1.359, allocations: 23.89 kB / 1.168 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/1.359, allocations: 4 kB / 1.168 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.324e-06/1.359, allocations: 0 / 1.168 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.673e-06/1.359, allocations: 4 kB / 1.168 GB, free: 2.18 MB / 0.8887 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.0007138/1.36, allocations: 335.2 kB / 1.168 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/1.36, allocations: 8.922 kB / 1.168 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.734e-05/1.36, allocations: 34.75 kB / 1.168 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.22e-05/1.36, allocations: 0.9375 kB / 1.168 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002048/1.36, allocations: 168.3 kB / 1.168 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/1.36, allocations: 384 / 1.168 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/1.36, allocations: 8.375 kB / 1.168 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/1.36, allocations: 54.17 kB / 1.168 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/1.36, allocations: 3.938 kB / 1.168 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/1.36, allocations: 4 kB / 1.168 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/1.36, allocations: 0 / 1.168 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002837/1.361, allocations: 35.95 kB / 1.168 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000554/1.361, allocations: 237 kB / 1.169 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/1.362, allocations: 66.3 kB / 1.169 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/1.362, allocations: 19.34 kB / 1.169 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/1.362, allocations: 0 / 1.169 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/1.362, allocations: 30.56 kB / 1.169 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.914e-06/1.362, allocations: 4 kB / 1.169 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0005699/1.362, allocations: 81.64 kB / 1.169 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.438e-05/1.362, allocations: 51.41 kB / 1.169 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/1.363, allocations: 101.9 kB / 1.169 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/1.363, allocations: 25.7 kB / 1.169 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.676e-05/1.363, allocations: 84.12 kB / 1.169 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/1.363, allocations: 3.953 kB / 1.169 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-05/1.363, allocations: 21.66 kB / 1.169 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002231/1.363, allocations: 315 kB / 1.169 GB, free: 308 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/1.363, allocations: 15.98 kB / 1.169 GB, free: 292 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/1.363, allocations: 19.97 kB / 1.169 GB, free: 272 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002419/1.364, allocations: 32.83 kB / 1.169 GB, free: 236 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/1.364, allocations: 8 kB / 1.169 GB, free: 228 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000324/1.364, allocations: 69.8 kB / 1.17 GB, free: 152 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/1.364, allocations: 8 kB / 1.17 GB, free: 144 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/1.364, allocations: 0 / 1.17 GB, free: 144 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/1.364, allocations: 0 / 1.17 GB, free: 144 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/1.364, allocations: 15.97 kB / 1.17 GB, free: 128 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/1.364, allocations: 3.938 kB / 1.17 GB, free: 124 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.556e-05/1.364, allocations: 4 kB / 1.17 GB, free: 120 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/1.364, allocations: 12.03 kB / 1.17 GB, free: 108 kB / 0.8887 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 0.0001781/1.365, allocations: 113.8 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.065e-05/1.365, allocations: 0 / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.133e-05/1.365, allocations: 7.125 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/1.365, allocations: 4 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/1.365, allocations: 0 / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/1.365, allocations: 0 / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003258/1.365, allocations: 161.6 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/1.365, allocations: 0 / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/1.365, allocations: 15.98 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/1.365, allocations: 0 / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/1.365, allocations: 0 / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/1.365, allocations: 3.938 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/1.365, allocations: 0 / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004435/1.366, allocations: 163.4 kB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.208e-05/1.366, allocations: 85.09 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/1.366, allocations: 3.984 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/1.366, allocations: 8 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.286e-05/1.366, allocations: 7.938 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/1.366, allocations: 3.984 kB / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.226e-05/1.366, allocations: 79.28 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.31e-07/1.366, allocations: 0 / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004155/1.367, allocations: 4 kB / 1.17 GB, free: 15.36 MB / 0.9044 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.001035/1.368, allocations: 0.6929 MB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003884/1.368, allocations: 43.89 kB / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/1.368, allocations: 4.094 kB / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001535/1.368, allocations: 15.98 kB / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000527/1.369, allocations: 4 kB / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006856/1.37, allocations: 127.1 kB / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000526/1.37, allocations: 0.6768 MB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.988e-05/1.37, allocations: 4 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.281e-05/1.37, allocations: 11.5 kB / 1.172 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of SimCode: time 4.91e-07/1.37, allocations: 0 / 1.172 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03495/1.405, allocations: 1.273 MB / 1.173 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/13.82, allocations: 8.312 kB / 1.173 GB, free: 12.5 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches