Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007952/0.0007952, allocations: 72.45 kB / 19.17 MB, free: 0.7148 MB / 13.93 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.0008485/0.0008485, allocations: 169.9 kB / 22.46 MB, free: 2.07 MB / 18.57 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 0.9123/0.9123, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.772/1.772, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.115e-06/3.115e-06, allocations: 0 / 0.9997 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.198e-05/2.51e-05, allocations: 6.219 kB / 0.9997 GB, free: 12.33 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001471/0.001497, allocations: 0.6589 MB / 1 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0007622/0.002259, allocations: 0.8198 MB / 1.001 GB, free: 10.85 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.341e-05/0.002292, allocations: 0 / 1.001 GB, free: 10.85 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 2.544e-05/0.002318, allocations: 0 / 1.001 GB, free: 10.85 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 5.664e-05/0.002374, allocations: 11.88 kB / 1.001 GB, free: 10.84 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001325/0.002507, allocations: 11.98 kB / 1.001 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 6.534e-05/0.002572, allocations: 31.92 kB / 1.001 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 8.749e-05/0.002659, allocations: 0 / 1.001 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 7.079e-05/0.00273, allocations: 15.97 kB / 1.001 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 3.464e-05/0.002765, allocations: 8 kB / 1.001 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.002784, allocations: 0 / 1.001 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 8.175e-06/0.002793, allocations: 4 kB / 1.001 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 1.531e-05/0.002808, allocations: 3.984 kB / 1.001 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 2.041e-05/0.002828, allocations: 11.94 kB / 1.001 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 7.442e-05/0.002903, allocations: 19.91 kB / 1.001 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.002905, allocations: 0 / 1.001 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of FrontEnd: time 7.11e-07/0.002906, allocations: 4 kB / 1.001 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.638e-06/0.002911, allocations: 0 / 1.001 GB, free: 10.73 MB / 0.9167 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.0003317/0.003242, allocations: 258.3 kB / 1.002 GB, free: 10.44 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.003281, allocations: 12.75 kB / 1.002 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.163e-05/0.003312, allocations: 38.73 kB / 1.002 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.86e-05/0.003331, allocations: 0.9375 kB / 1.002 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.237e-05/0.003403, allocations: 109.7 kB / 1.002 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.003412, allocations: 384 / 1.002 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-06/0.00342, allocations: 384 / 1.002 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.003538, allocations: 58.22 kB / 1.002 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.003545, allocations: 192 / 1.002 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.003554, allocations: 4.375 kB / 1.002 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.00356, allocations: 4.125 kB / 1.002 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.697e-05/0.003647, allocations: 27.97 kB / 1.002 GB, free: 10.15 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002701/0.003917, allocations: 216 kB / 1.002 GB, free: 9.898 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 8.364e-05/0.004, allocations: 42.5 kB / 1.002 GB, free: 9.848 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.618e-05/0.004046, allocations: 28.83 kB / 1.002 GB, free: 9.816 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.004064, allocations: 0 / 1.002 GB, free: 9.816 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.004086, allocations: 38.5 kB / 1.002 GB, free: 9.77 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.004087, allocations: 4 kB / 1.002 GB, free: 9.766 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2): time 0.00022/0.004307, allocations: 77.59 kB / 1.002 GB, free: 9.684 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/0.004336, allocations: 55.34 kB / 1.002 GB, free: 9.617 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.441e-05/0.00439, allocations: 101.9 kB / 1.002 GB, free: 9.508 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.407e-06/0.0044, allocations: 33.77 kB / 1.002 GB, free: 9.469 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.403e-05/0.004434, allocations: 84.12 kB / 1.002 GB, free: 9.383 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.004449, allocations: 7.953 kB / 1.002 GB, free: 9.375 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-05/0.004473, allocations: 13.72 kB / 1.002 GB, free: 9.355 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.144e-05/0.004555, allocations: 310.8 kB / 1.003 GB, free: 9.043 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.483e-05/0.0046, allocations: 19.98 kB / 1.003 GB, free: 9.023 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.546e-05/0.004635, allocations: 15.97 kB / 1.003 GB, free: 9.008 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.979e-05/0.004715, allocations: 40.89 kB / 1.003 GB, free: 8.965 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.004717, allocations: 0 / 1.003 GB, free: 8.965 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001066/0.004824, allocations: 81.53 kB / 1.003 GB, free: 8.879 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.004836, allocations: 4 kB / 1.003 GB, free: 8.875 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.004841, allocations: 0 / 1.003 GB, free: 8.875 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.004852, allocations: 0 / 1.003 GB, free: 8.875 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.842e-05/0.00492, allocations: 11.98 kB / 1.003 GB, free: 8.863 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.004926, allocations: 8.016 kB / 1.003 GB, free: 8.855 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.274e-05/0.004948, allocations: 7.938 kB / 1.003 GB, free: 8.848 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-06/0.004954, allocations: 0 / 1.003 GB, free: 8.848 MB / 0.9167 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 5.071e-05/0.005005, allocations: 105.8 kB / 1.003 GB, free: 8.734 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.005019, allocations: 7.938 kB / 1.003 GB, free: 8.727 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.404e-05/0.005043, allocations: 11.3 kB / 1.003 GB, free: 8.711 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.005044, allocations: 0 / 1.003 GB, free: 8.711 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.005048, allocations: 0 / 1.003 GB, free: 8.711 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.005051, allocations: 0 / 1.003 GB, free: 8.711 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.777e-05/0.005149, allocations: 124.8 kB / 1.003 GB, free: 8.547 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.00515, allocations: 8 kB / 1.003 GB, free: 8.539 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.259e-05/0.005173, allocations: 4 kB / 1.003 GB, free: 8.535 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.005176, allocations: 3.938 kB / 1.003 GB, free: 8.531 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.005181, allocations: 0 / 1.003 GB, free: 8.531 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.005183, allocations: 3.984 kB / 1.003 GB, free: 8.527 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.005184, allocations: 7.938 kB / 1.003 GB, free: 8.52 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/0.00531, allocations: 159.4 kB / 1.003 GB, free: 8.348 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.412e-06/0.005316, allocations: 7.922 kB / 1.003 GB, free: 8.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.787e-06/0.005325, allocations: 4.031 kB / 1.003 GB, free: 8.336 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.702e-05/0.005362, allocations: 4 kB / 1.003 GB, free: 8.332 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.192e-05/0.005394, allocations: 7.984 kB / 1.003 GB, free: 8.324 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.005396, allocations: 4 kB / 1.003 GB, free: 8.32 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.525e-05/0.005421, allocations: 79.47 kB / 1.003 GB, free: 8.242 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.005421, allocations: 0 / 1.003 GB, free: 8.242 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001401/0.005561, allocations: 0 / 1.003 GB, free: 8.242 MB / 0.9167 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.0003119/0.005873, allocations: 0.6929 MB / 1.004 GB, free: 7.523 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001173/0.005991, allocations: 39.89 kB / 1.004 GB, free: 7.484 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.005992, allocations: 0 / 1.004 GB, free: 7.484 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.008e-05/0.006032, allocations: 23.92 kB / 1.004 GB, free: 7.461 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.006256, allocations: 4.141 kB / 1.004 GB, free: 7.457 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000315/0.006571, allocations: 139.2 kB / 1.004 GB, free: 7.281 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.83e-05/0.006609, allocations: 59.48 kB / 1.004 GB, free: 7.203 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.775e-05/0.006627, allocations: 3.906 kB / 1.004 GB, free: 7.199 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.299e-05/0.00666, allocations: 20.48 kB / 1.004 GB, free: 7.176 MB / 0.9167 GB Notification: Performance of SimCode: time 4.81e-07/0.00666, allocations: 0 / 1.004 GB, free: 7.176 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01342/0.02008, allocations: 1.96 MB / 1.006 GB, free: 5.348 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.801/6.821, allocations: 8.047 kB / 1.006 GB, free: 5.344 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.csv. Warning: Get data of variable sqrt1.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.977254734374583]