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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 110.4 kB / 17.96 MB, free: 4.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 201.4 kB / 21.22 MB, free: 0.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 225.6 MB / 249.9 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.844/2.844, allocations: 476.7 MB / 0.7634 GB, free: 10.16 MB / 0.6231 GB " [Timeout remaining time 176] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 67.89 kB / 1.108 GB, free: 7.176 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.056/1.058, allocations: 168.7 MB / 1.272 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.00192/1.059, allocations: 0.6578 MB / 1.273 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009679/1.06, allocations: 0.8078 MB / 1.274 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.861e-05/1.06, allocations: 0 / 1.274 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.452e-05/1.06, allocations: 0 / 1.274 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.04e-05/1.061, allocations: 7.922 kB / 1.274 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001449/1.061, allocations: 8 kB / 1.274 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.704e-05/1.061, allocations: 23.91 kB / 1.274 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/1.061, allocations: 16 kB / 1.274 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.582e-05/1.061, allocations: 11.92 kB / 1.274 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.957e-05/1.061, allocations: 4 kB / 1.274 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/1.061, allocations: 4 kB / 1.274 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.444e-06/1.061, allocations: 0 / 1.274 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.883e-05/1.061, allocations: 7.984 kB / 1.274 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.261e-05/1.061, allocations: 11.94 kB / 1.274 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.783e-05/1.061, allocations: 25.72 kB / 1.274 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/1.061, allocations: 0 / 1.274 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.283e-06/1.061, allocations: 0 / 1.274 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.911e-06/1.061, allocations: 4 kB / 1.274 GB, free: 2.719 MB / 0.9669 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.0004933/1.062, allocations: 339.5 kB / 1.274 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/1.062, allocations: 8.031 kB / 1.274 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.226e-05/1.062, allocations: 30.75 kB / 1.274 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.426e-05/1.062, allocations: 4.891 kB / 1.274 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/1.062, allocations: 176.2 kB / 1.275 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/1.062, allocations: 384 / 1.275 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-06/1.062, allocations: 384 / 1.275 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/1.062, allocations: 62.16 kB / 1.275 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/1.062, allocations: 3.938 kB / 1.275 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/1.062, allocations: 0 / 1.275 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/1.062, allocations: 0 / 1.275 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001618/1.062, allocations: 31.97 kB / 1.275 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003393/1.063, allocations: 245 kB / 1.275 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/1.063, allocations: 46.44 kB / 1.275 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.338e-05/1.063, allocations: 20.91 kB / 1.275 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/1.063, allocations: 4 kB / 1.275 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/1.063, allocations: 30.56 kB / 1.275 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.173e-06/1.063, allocations: 3.938 kB / 1.275 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003661/1.063, allocations: 85.64 kB / 1.275 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/1.063, allocations: 55.34 kB / 1.275 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.409e-05/1.063, allocations: 97.84 kB / 1.275 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/1.063, allocations: 25.7 kB / 1.275 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.15e-05/1.063, allocations: 88.09 kB / 1.275 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/1.064, allocations: 7.953 kB / 1.275 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/1.064, allocations: 9.719 kB / 1.275 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001465/1.064, allocations: 323 kB / 1.276 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.785e-05/1.064, allocations: 15.98 kB / 1.276 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.988e-05/1.064, allocations: 15.98 kB / 1.276 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/1.064, allocations: 40.81 kB / 1.276 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/1.064, allocations: 4 kB / 1.276 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001905/1.064, allocations: 69.61 kB / 1.276 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/1.064, allocations: 4 kB / 1.276 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/1.064, allocations: 0 / 1.276 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/1.064, allocations: 3.984 kB / 1.276 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.536e-05/1.064, allocations: 8 kB / 1.276 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/1.064, allocations: 3.984 kB / 1.276 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.478e-05/1.064, allocations: 7.984 kB / 1.276 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/1.064, allocations: 4.031 kB / 1.276 GB, free: 0.6445 MB / 0.9669 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.104e-05/1.064, allocations: 114.7 kB / 1.276 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/1.064, allocations: 4 kB / 1.276 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.015e-05/1.064, allocations: 3.125 kB / 1.276 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/1.064, allocations: 0 / 1.276 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/1.064, allocations: 0 / 1.276 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/1.064, allocations: 3.984 kB / 1.276 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/1.065, allocations: 157.6 kB / 1.276 GB, free: 320 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/1.065, allocations: 0 / 1.276 GB, free: 320 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.63e-05/1.065, allocations: 15.98 kB / 1.276 GB, free: 304 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/1.065, allocations: 0 / 1.276 GB, free: 304 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/1.065, allocations: 4 kB / 1.276 GB, free: 300 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/1.065, allocations: 3.938 kB / 1.276 GB, free: 296 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/1.065, allocations: 0 / 1.276 GB, free: 296 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/1.065, allocations: 167.4 kB / 1.276 GB, free: 112 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.781e-05/1.065, allocations: 85.09 kB / 1.276 GB, free: 8 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/1.065, allocations: 7.938 kB / 1.276 GB, free: 0 / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.385e-05/1.065, allocations: 8.047 kB / 1.276 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.188e-05/1.065, allocations: 0 / 1.276 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/1.065, allocations: 0 / 1.276 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.585e-05/1.065, allocations: 87.39 kB / 1.276 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/1.065, allocations: 0 / 1.276 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002065/1.065, allocations: 4 kB / 1.276 GB, free: 15.9 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.0006161/1.066, allocations: 0.7012 MB / 1.277 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002084/1.066, allocations: 35.97 kB / 1.277 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.066, allocations: 4.094 kB / 1.277 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.403e-05/1.066, allocations: 19.98 kB / 1.277 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/1.067, allocations: 5.547 kB / 1.277 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004781/1.067, allocations: 158.2 kB / 1.277 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/1.067, allocations: 0.6768 MB / 1.278 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.108e-05/1.067, allocations: 0 / 1.278 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.809e-05/1.067, allocations: 15.5 kB / 1.278 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of SimCode: time 5.01e-07/1.067, allocations: 7.938 kB / 1.278 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02731/1.095, allocations: 1.25 MB / 1.279 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.931/9.025, allocations: 0 / 1.279 GB, free: 13.03 MB / 0.9825 GB " [Timeout remaining time 291] (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_2/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: 15.272971925092861]