Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009011/0.0009011, 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.0008692/0.0008692, 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.8699/0.8699, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.801/1.801, allocations: 377.8 MB / 0.6221 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.936e-06/2.936e-06, allocations: 0 / 0.981 GB, free: 2.512 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.369e-05/2.662e-05, allocations: 2.281 kB / 0.981 GB, free: 2.508 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001793/0.00182, allocations: 0.6705 MB / 0.9817 GB, free: 1.84 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0009268/0.002747, allocations: 0.8198 MB / 0.9825 GB, free: 1.008 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.513e-05/0.002792, allocations: 4 kB / 0.9825 GB, free: 1.004 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.15e-05/0.002823, allocations: 0 / 0.9825 GB, free: 1.004 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.568e-05/0.002909, allocations: 7.922 kB / 0.9825 GB, free: 0.9961 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001966/0.003106, allocations: 15.92 kB / 0.9825 GB, free: 0.9805 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.062e-05/0.003196, allocations: 19.94 kB / 0.9825 GB, free: 0.9609 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.003318, allocations: 7.984 kB / 0.9825 GB, free: 0.9531 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 8.588e-05/0.003404, allocations: 8 kB / 0.9825 GB, free: 0.9453 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.766e-05/0.003462, allocations: 7.984 kB / 0.9825 GB, free: 0.9375 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 3.223e-05/0.003494, allocations: 4 kB / 0.9826 GB, free: 0.9336 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 9.037e-06/0.003503, allocations: 0 / 0.9826 GB, free: 0.9336 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.876e-05/0.003522, allocations: 4 kB / 0.9826 GB, free: 0.9297 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.31e-05/0.003545, allocations: 7.938 kB / 0.9826 GB, free: 0.9219 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.000112/0.003657, allocations: 31.88 kB / 0.9826 GB, free: 0.8906 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.003661, allocations: 4 kB / 0.9826 GB, free: 0.8867 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.074e-06/0.003663, allocations: 0 / 0.9826 GB, free: 0.8867 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.942e-06/0.003669, allocations: 0 / 0.9826 GB, free: 0.8867 MB / 0.9323 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.0004375/0.004106, allocations: 262.3 kB / 0.9828 GB, free: 0.5977 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.004158, allocations: 8.031 kB / 0.9829 GB, free: 0.5898 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.712e-05/0.004195, allocations: 30.75 kB / 0.9829 GB, free: 0.5508 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.704e-05/0.004222, allocations: 8.891 kB / 0.9829 GB, free: 0.543 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.004324, allocations: 105.7 kB / 0.983 GB, free: 424 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.004336, allocations: 4.375 kB / 0.983 GB, free: 420 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.004348, allocations: 8.375 kB / 0.983 GB, free: 412 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.0045, allocations: 50.23 kB / 0.9831 GB, free: 356 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.004508, allocations: 192 / 0.9831 GB, free: 356 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.004519, allocations: 4.375 kB / 0.9831 GB, free: 352 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.004525, allocations: 4.125 kB / 0.9831 GB, free: 348 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.058e-05/0.004615, allocations: 35.94 kB / 0.9831 GB, free: 312 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003033/0.004919, allocations: 208 kB / 0.9833 GB, free: 60 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 9.512e-05/0.005014, allocations: 42.53 kB / 0.9833 GB, free: 8 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.444e-05/0.005078, allocations: 24.91 kB / 0.9834 GB, free: 15.98 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.0051, allocations: 0 / 0.9834 GB, free: 15.98 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.005125, allocations: 38.5 kB / 0.9834 GB, free: 15.93 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.005127, allocations: 3.938 kB / 0.9834 GB, free: 15.93 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002477/0.005374, allocations: 85.52 kB / 0.9835 GB, free: 15.84 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.005409, allocations: 55.41 kB / 0.9835 GB, free: 15.77 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.573e-05/0.005475, allocations: 102 kB / 0.9836 GB, free: 15.66 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.005488, allocations: 29.7 kB / 0.9837 GB, free: 15.63 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.404e-05/0.005532, allocations: 84.09 kB / 0.9837 GB, free: 15.54 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.00555, allocations: 7.953 kB / 0.9837 GB, free: 15.54 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.666e-05/0.005577, allocations: 9.719 kB / 0.9838 GB, free: 15.52 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.743e-05/0.005664, allocations: 322.8 kB / 0.9841 GB, free: 15.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.645e-05/0.005711, allocations: 11.98 kB / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.531e-05/0.005746, allocations: 15.98 kB / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.152e-05/0.005828, allocations: 40.89 kB / 0.9841 GB, free: 15.12 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.00583, allocations: 0 / 0.9841 GB, free: 15.12 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001077/0.005938, allocations: 73.53 kB / 0.9842 GB, free: 15.05 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.005953, allocations: 6.969 kB / 0.9842 GB, free: 15.04 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.005957, allocations: 0 / 0.9842 GB, free: 15.04 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.00597, allocations: 0 / 0.9842 GB, free: 15.04 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.455e-05/0.006045, allocations: 11.98 kB / 0.9842 GB, free: 15.03 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.00605, allocations: 4.031 kB / 0.9842 GB, free: 15.03 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.69e-05/0.006077, allocations: 11.92 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.006082, allocations: 0 / 0.9842 GB, free: 15.02 MB / 0.948 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 6.063e-05/0.006143, allocations: 113.8 kB / 0.9843 GB, free: 14.89 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.258e-05/0.006155, allocations: 3.938 kB / 0.9843 GB, free: 14.89 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.351e-05/0.006179, allocations: 3.312 kB / 0.9843 GB, free: 14.89 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.006181, allocations: 0 / 0.9843 GB, free: 14.89 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.006185, allocations: 0 / 0.9843 GB, free: 14.89 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.006188, allocations: 0 / 0.9843 GB, free: 14.89 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.006315, allocations: 128.8 kB / 0.9845 GB, free: 14.72 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.006316, allocations: 4 kB / 0.9845 GB, free: 14.72 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.847e-05/0.006345, allocations: 7.984 kB / 0.9845 GB, free: 14.71 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.006349, allocations: 3.938 kB / 0.9845 GB, free: 14.71 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.006356, allocations: 0 / 0.9845 GB, free: 14.71 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.006357, allocations: 4 kB / 0.9845 GB, free: 14.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.006358, allocations: 0 / 0.9845 GB, free: 14.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/0.006506, allocations: 163.5 kB / 0.9846 GB, free: 14.53 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.033e-05/0.006517, allocations: 7.891 kB / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.006529, allocations: 8.031 kB / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.52e-05/0.006564, allocations: 11.92 kB / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.006602, allocations: 4 kB / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.006604, allocations: 0 / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.369e-05/0.006638, allocations: 87.27 kB / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006638, allocations: 0 / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000146/0.006784, allocations: 7.938 kB / 0.9848 GB, free: 14.4 MB / 0.948 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.0003888/0.007173, allocations: 0.6928 MB / 0.9854 GB, free: 13.68 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001587/0.007332, allocations: 35.97 kB / 0.9855 GB, free: 13.65 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.007335, allocations: 0 / 0.9855 GB, free: 13.65 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.344e-05/0.007379, allocations: 19.97 kB / 0.9855 GB, free: 13.63 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.007666, allocations: 0 / 0.9855 GB, free: 13.63 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004238/0.008089, allocations: 134.7 kB / 0.9856 GB, free: 13.46 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.519e-05/0.008145, allocations: 67.34 kB / 0.9857 GB, free: 13.37 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.231e-05/0.008167, allocations: 3.938 kB / 0.9857 GB, free: 13.37 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.128e-05/0.008208, allocations: 8.5 kB / 0.9857 GB, free: 13.36 MB / 0.948 GB Notification: Performance of SimCode: time 9.32e-07/0.008209, allocations: 0 / 0.9857 GB, free: 13.36 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01653/0.02474, allocations: 1.963 MB / 0.9876 GB, free: 11.53 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.685/6.71, allocations: 1.172 kB / 0.9876 GB, free: 11.53 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.csv. Warning: Get data of variable sqrt1.u from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.0158297335729]