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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001815/0.001815, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002348/0.002348, allocations: 215.1 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.508/1.508, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.809/2.809, allocations: 476.7 MB / 0.7707 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 65.81 kB / 1.117 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3376, allocations: 170 MB / 1.283 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.002043/0.3396, allocations: 0.6635 MB / 1.284 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.3408, allocations: 0.8316 MB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.311e-05/0.3408, allocations: 8 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.28e-05/0.3409, allocations: 0 / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.776e-05/0.3409, allocations: 11.92 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001574/0.3411, allocations: 0 / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.657e-05/0.3412, allocations: 31.86 kB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.3413, allocations: 4 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.34e-05/0.3414, allocations: 7.984 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.685e-05/0.3414, allocations: 11.94 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.3414, allocations: 0 / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.119e-05/0.3414, allocations: 4 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.251e-05/0.3415, allocations: 15.97 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.033e-05/0.3415, allocations: 7.938 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.034e-05/0.3416, allocations: 23.48 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3416, allocations: 0 / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3416, allocations: 0 / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.3416, allocations: 3.938 kB / 1.285 GB, free: 10.11 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.0004815/0.3421, allocations: 258.3 kB / 1.285 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.3421, allocations: 19.91 kB / 1.285 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.328e-05/0.3422, allocations: 30.75 kB / 1.285 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.353e-05/0.3422, allocations: 4.938 kB / 1.285 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.3423, allocations: 110.5 kB / 1.285 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.3423, allocations: 4.359 kB / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.3423, allocations: 384 / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.3425, allocations: 46.25 kB / 1.285 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.3425, allocations: 3.938 kB / 1.285 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.3425, allocations: 0 / 1.285 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.3425, allocations: 3.984 kB / 1.285 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.3427, allocations: 35.97 kB / 1.286 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003626/0.3431, allocations: 223.9 kB / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.3432, allocations: 38.53 kB / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.781e-05/0.3433, allocations: 24.91 kB / 1.286 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.3433, allocations: 8 kB / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.3433, allocations: 30.56 kB / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.3433, allocations: 0 / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003578/0.3437, allocations: 85.58 kB / 1.286 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.3437, allocations: 51.41 kB / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.916e-05/0.3438, allocations: 101.8 kB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.3438, allocations: 29.83 kB / 1.286 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.291e-05/0.3439, allocations: 80.14 kB / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.3439, allocations: 11.89 kB / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.169e-05/0.3439, allocations: 13.72 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.3441, allocations: 310.8 kB / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.28e-05/0.3442, allocations: 23.97 kB / 1.287 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.829e-05/0.3442, allocations: 15.98 kB / 1.287 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.3444, allocations: 36.83 kB / 1.287 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.3444, allocations: 3.938 kB / 1.287 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001876/0.3446, allocations: 69.59 kB / 1.287 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.3446, allocations: 4 kB / 1.287 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.3446, allocations: 0 / 1.287 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3446, allocations: 4.094 kB / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.273e-05/0.3447, allocations: 11.98 kB / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3447, allocations: 3.938 kB / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.772e-05/0.3448, allocations: 7.984 kB / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.3448, allocations: 4 kB / 1.287 GB, free: 8.238 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.267e-05/0.3449, allocations: 109.8 kB / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.346e-05/0.3449, allocations: 7.953 kB / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.183e-05/0.3449, allocations: 3.312 kB / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.3449, allocations: 4 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3449, allocations: 0 / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.3449, allocations: 3.938 kB / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.3451, allocations: 132.7 kB / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.3451, allocations: 0 / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.719e-05/0.3452, allocations: 8 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.3452, allocations: 0 / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.3452, allocations: 4 kB / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.3452, allocations: 7.922 kB / 1.287 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3452, allocations: 3.984 kB / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002528/0.3454, allocations: 159.5 kB / 1.287 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.118e-05/0.3454, allocations: 8.172 kB / 1.287 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.3455, allocations: 0 / 1.287 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.659e-05/0.3455, allocations: 8 kB / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/0.3456, allocations: 7.969 kB / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.3456, allocations: 32 / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.872e-05/0.3457, allocations: 83.28 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3457, allocations: 0 / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002102/0.3459, allocations: 4 kB / 1.287 GB, free: 7.629 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.0006259/0.3465, allocations: 0.7006 MB / 1.288 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002081/0.3467, allocations: 35.95 kB / 1.288 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3467, allocations: 0 / 1.288 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.416e-05/0.3468, allocations: 19.98 kB / 1.288 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.3471, allocations: 4 kB / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004401/0.3476, allocations: 143.3 kB / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.3479, allocations: 0.6768 MB / 1.289 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.097e-05/0.3479, allocations: 0 / 1.289 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.892e-05/0.3479, allocations: 11.44 kB / 1.289 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3479, allocations: 0 / 1.289 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02873/0.3767, allocations: 1.377 MB / 1.29 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.34, allocations: 13.8 kB / 1.29 GB, free: 4.688 MB / 0.9825 GB " [Timeout remaining time 288] (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) [Timeout 420.0] 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) [Timeout 300] "Error: Could not read variable sqrt1.u in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.csv. Warning: Get data of variable sqrt1.u from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.133562188000724]