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.0008296/0.0008296, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.00103/0.00103, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8998/0.8998, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.717/1.717, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 0 / 0.9506 GB, free: 3.445 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.445e-05/2.697e-05, allocations: 9.312 kB / 0.9506 GB, free: 3.438 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001596/0.001623, allocations: 0.6678 MB / 0.9512 GB, free: 2.762 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.002703, allocations: 0.8237 MB / 0.952 GB, free: 1.926 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.079e-05/0.002744, allocations: 4 kB / 0.952 GB, free: 1.922 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 4e-05/0.002784, allocations: 0 / 0.952 GB, free: 1.922 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.101e-05/0.002865, allocations: 4 kB / 0.952 GB, free: 1.918 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001752/0.00304, allocations: 7.922 kB / 0.952 GB, free: 1.91 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.773e-05/0.003128, allocations: 27.92 kB / 0.9521 GB, free: 1.883 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.003262, allocations: 7.984 kB / 0.9521 GB, free: 1.875 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 9.78e-05/0.00336, allocations: 12 kB / 0.9521 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.771e-05/0.003408, allocations: 11.92 kB / 0.9521 GB, free: 1.852 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.888e-05/0.003436, allocations: 4 kB / 0.9521 GB, free: 1.848 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 8.236e-06/0.003445, allocations: 0 / 0.9521 GB, free: 1.848 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.21e-05/0.003467, allocations: 4 kB / 0.9521 GB, free: 1.844 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.097e-05/0.003488, allocations: 7.984 kB / 0.9521 GB, free: 1.836 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.003591, allocations: 31.83 kB / 0.9521 GB, free: 1.805 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.003593, allocations: 0 / 0.9521 GB, free: 1.805 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.382e-06/0.003595, allocations: 0 / 0.9521 GB, free: 1.805 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.003601, allocations: 0 / 0.9521 GB, free: 1.805 MB / 0.9011 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.0004939/0.004095, allocations: 266.3 kB / 0.9524 GB, free: 1.512 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.004143, allocations: 8.031 kB / 0.9524 GB, free: 1.504 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.146e-05/0.004174, allocations: 30.75 kB / 0.9524 GB, free: 1.465 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.942e-05/0.004204, allocations: 8.891 kB / 0.9524 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.395e-05/0.004288, allocations: 101.8 kB / 0.9525 GB, free: 1.332 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.0043, allocations: 8.297 kB / 0.9525 GB, free: 1.324 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.777e-06/0.004309, allocations: 4.375 kB / 0.9525 GB, free: 1.32 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.004449, allocations: 50.19 kB / 0.9526 GB, free: 1.266 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.004458, allocations: 192 / 0.9526 GB, free: 1.266 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.004467, allocations: 4.375 kB / 0.9526 GB, free: 1.262 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.004473, allocations: 4.125 kB / 0.9526 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.188e-05/0.004565, allocations: 31.95 kB / 0.9526 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003087/0.004873, allocations: 220 kB / 0.9528 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 9.212e-05/0.004965, allocations: 38.5 kB / 0.9529 GB, free: 0.9219 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.917e-05/0.005015, allocations: 20.91 kB / 0.9529 GB, free: 0.8984 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.005034, allocations: 4 kB / 0.9529 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.005056, allocations: 38.5 kB / 0.9529 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.423e-06/0.005058, allocations: 0 / 0.9529 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.000252/0.00531, allocations: 77.64 kB / 0.953 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.005343, allocations: 55.41 kB / 0.9531 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.688e-05/0.0054, allocations: 97.84 kB / 0.9532 GB, free: 0.5938 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.005411, allocations: 25.7 kB / 0.9532 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.282e-05/0.005443, allocations: 88.2 kB / 0.9533 GB, free: 484 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.56e-05/0.005459, allocations: 11.95 kB / 0.9533 GB, free: 472 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.317e-05/0.005482, allocations: 9.719 kB / 0.9533 GB, free: 456 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.566e-05/0.005558, allocations: 322.8 kB / 0.9536 GB, free: 124 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.033e-05/0.005598, allocations: 11.98 kB / 0.9536 GB, free: 112 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.342e-05/0.005632, allocations: 15.98 kB / 0.9536 GB, free: 96 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.494e-05/0.005707, allocations: 40.81 kB / 0.9537 GB, free: 52 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.005708, allocations: 4.062 kB / 0.9537 GB, free: 48 kB / 0.9011 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000108/0.005816, allocations: 69.56 kB / 0.9537 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.005828, allocations: 4 kB / 0.9537 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.005832, allocations: 3.938 kB / 0.9537 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.005843, allocations: 0 / 0.9537 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.526e-05/0.005909, allocations: 19.92 kB / 0.9538 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.005914, allocations: 0 / 0.9538 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.39e-05/0.005937, allocations: 11.92 kB / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.005942, allocations: 4.031 kB / 0.9538 GB, free: 15.93 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.023e-05/0.005992, allocations: 113.8 kB / 0.9539 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.179e-05/0.006004, allocations: 3.938 kB / 0.9539 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.423e-05/0.006028, allocations: 3.312 kB / 0.9539 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.00603, allocations: 0 / 0.9539 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.006035, allocations: 0 / 0.9539 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.006037, allocations: 0 / 0.9539 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.006228, allocations: 128.8 kB / 0.954 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.006229, allocations: 0 / 0.954 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.469e-05/0.006253, allocations: 7.984 kB / 0.954 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.006255, allocations: 11.88 kB / 0.954 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.006263, allocations: 4 kB / 0.954 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.006264, allocations: 0 / 0.954 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.006265, allocations: 0 / 0.954 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.006391, allocations: 159.5 kB / 0.9542 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.186e-06/0.006399, allocations: 11.89 kB / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.957e-06/0.006408, allocations: 0 / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.48e-05/0.006443, allocations: 7.984 kB / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.192e-05/0.006475, allocations: 8.031 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.006476, allocations: 0 / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.732e-05/0.006504, allocations: 83.27 kB / 0.9543 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006504, allocations: 0 / 0.9543 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001395/0.006643, allocations: 4 kB / 0.9543 GB, free: 15.32 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.0002902/0.006934, allocations: 0.689 MB / 0.955 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001297/0.007063, allocations: 43.92 kB / 0.955 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.007065, allocations: 0 / 0.955 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.889e-05/0.007104, allocations: 19.98 kB / 0.955 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/0.00729, allocations: 0 / 0.955 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003056/0.007596, allocations: 130.5 kB / 0.9552 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.088e-05/0.007637, allocations: 67.28 kB / 0.9552 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.58e-05/0.007653, allocations: 4.125 kB / 0.9552 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.201e-05/0.007685, allocations: 12.5 kB / 0.9552 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of SimCode: time 5.61e-07/0.007685, allocations: 0 / 0.9552 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01599/0.02367, allocations: 1.954 MB / 0.9571 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.644/6.668, allocations: 3.938 kB / 0.9571 GB, free: 12.45 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 10.882353202439845]