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.0008252/0.0008252, 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.0008248/0.0008248, allocations: 165.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.754 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.768/1.768, allocations: 389 MB / 0.633 GB, free: 12.71 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 2.755e-06/2.755e-06, allocations: 0 / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.692e-05/1.968e-05, allocations: 5.234 kB / 0.9997 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.00129/0.001309, allocations: 0.6522 MB / 1 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006637/0.001973, allocations: 0.8276 MB / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.462e-05/0.001998, allocations: 0 / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.344e-05/0.002021, allocations: 0 / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.766e-05/0.002069, allocations: 3.938 kB / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001202/0.002189, allocations: 23.8 kB / 1.001 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.612e-05/0.002245, allocations: 15.98 kB / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.21e-05/0.002327, allocations: 15.92 kB / 1.001 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.827e-05/0.002385, allocations: 11.98 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.745e-05/0.002413, allocations: 0 / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.002431, allocations: 4 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.431e-06/0.002437, allocations: 0 / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.37e-05/0.002451, allocations: 12 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.809e-05/0.002469, allocations: 11.92 kB / 1.001 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 6.157e-05/0.00253, allocations: 15.97 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.002532, allocations: 0 / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.22e-07/0.002533, allocations: 0 / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 2.765e-06/0.002535, allocations: 0 / 1.001 GB, free: 11.84 MB / 0.9636 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.0002892/0.002825, allocations: 262.3 kB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.00286, allocations: 8.75 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.404e-05/0.002884, allocations: 30.75 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.526e-05/0.002899, allocations: 4.938 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.427e-05/0.002963, allocations: 113.7 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.002974, allocations: 8.375 kB / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.442e-06/0.002981, allocations: 384 / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.003084, allocations: 50.23 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.611e-06/0.00309, allocations: 192 / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-06/0.003097, allocations: 4.359 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.003101, allocations: 4.125 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.108e-05/0.003182, allocations: 31.97 kB / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002306/0.003413, allocations: 224 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.969e-05/0.003483, allocations: 34.5 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.084e-05/0.003523, allocations: 20.91 kB / 1.002 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.003538, allocations: 4 kB / 1.002 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.003555, allocations: 38.48 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 7.01e-07/0.003556, allocations: 0 / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001959/0.003752, allocations: 81.66 kB / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.003776, allocations: 55.34 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.716e-05/0.003823, allocations: 105.8 kB / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.667e-06/0.003832, allocations: 25.7 kB / 1.002 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.95e-05/0.003861, allocations: 88.08 kB / 1.002 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.212e-05/0.003873, allocations: 3.953 kB / 1.002 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.161e-05/0.003895, allocations: 17.72 kB / 1.002 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.474e-05/0.00396, allocations: 314.8 kB / 1.003 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.763e-05/0.003997, allocations: 16.11 kB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.441e-05/0.004032, allocations: 23.98 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.877e-05/0.004101, allocations: 36.81 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.004102, allocations: 3.938 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.942e-05/0.004191, allocations: 69.55 kB / 1.003 GB, free: 9.992 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/0.004201, allocations: 4.094 kB / 1.003 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.004205, allocations: 4 kB / 1.003 GB, free: 9.984 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.004216, allocations: 7.984 kB / 1.003 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.988e-05/0.004265, allocations: 4 kB / 1.003 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.004269, allocations: 0 / 1.003 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.132e-05/0.00429, allocations: 7.984 kB / 1.003 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-06/0.004294, allocations: 0 / 1.003 GB, free: 9.965 MB / 0.9636 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 4.403e-05/0.004338, allocations: 113.8 kB / 1.003 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.327e-05/0.004351, allocations: 7.891 kB / 1.003 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.86e-05/0.00437, allocations: 3.312 kB / 1.003 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.004371, allocations: 4 kB / 1.003 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.004374, allocations: 4 kB / 1.003 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.004376, allocations: 3.984 kB / 1.003 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.636e-05/0.004463, allocations: 120.8 kB / 1.003 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.41e-07/0.004463, allocations: 0 / 1.003 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.165e-05/0.004485, allocations: 11.98 kB / 1.003 GB, free: 9.645 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.004487, allocations: 3.938 kB / 1.003 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-06/0.004491, allocations: 0 / 1.003 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.004491, allocations: 0 / 1.003 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.004492, allocations: 0 / 1.003 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.004606, allocations: 167.5 kB / 1.003 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.178e-06/0.00461, allocations: 3.938 kB / 1.003 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.00462, allocations: 4 kB / 1.003 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.541e-05/0.004656, allocations: 7.984 kB / 1.003 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.543e-05/0.004681, allocations: 0 / 1.003 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-06/0.004683, allocations: 3.938 kB / 1.003 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.299e-05/0.004706, allocations: 87.27 kB / 1.003 GB, free: 9.355 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.004706, allocations: 0 / 1.003 GB, free: 9.355 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001313/0.004837, allocations: 4.031 kB / 1.003 GB, free: 9.352 MB / 0.9636 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.0002623/0.0051, allocations: 0.6929 MB / 1.004 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000103/0.005203, allocations: 43.89 kB / 1.004 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 9.42e-07/0.005204, allocations: 0 / 1.004 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.854e-05/0.005242, allocations: 20.08 kB / 1.004 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001748/0.005417, allocations: 7.781 kB / 1.004 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002744/0.005691, allocations: 135.3 kB / 1.004 GB, free: 8.395 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.631e-05/0.005728, allocations: 63.34 kB / 1.004 GB, free: 8.312 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.457e-05/0.005742, allocations: 0 / 1.004 GB, free: 8.312 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.594e-05/0.005768, allocations: 8.828 kB / 1.004 GB, free: 8.305 MB / 0.9636 GB Notification: Performance of SimCode: time 2.1e-07/0.005768, allocations: 3.938 kB / 1.004 GB, free: 8.301 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01362/0.01939, allocations: 1.967 MB / 1.006 GB, free: 6.469 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.431/6.451, allocations: 4 kB / 1.006 GB, free: 6.465 MB / 0.9636 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.50520731229335]