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.001269/0.001269, allocations: 102.7 kB / 16.45 MB, free: 6.445 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.001336/0.001336, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.548/1.548, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.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.876/2.876, allocations: 476.7 MB / 0.7611 GB, free: 15.67 MB / 0.6075 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.002669/0.002669, allocations: 63.89 kB / 1.104 GB, free: 6.469 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.207/1.21, allocations: 168.7 MB / 1.269 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.00195/1.211, allocations: 0.6696 MB / 1.269 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008439/1.212, allocations: 0.7997 MB / 1.27 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.327e-05/1.212, allocations: 0.8125 kB / 1.27 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.92e-05/1.212, allocations: 6.562 kB / 1.27 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.015e-05/1.212, allocations: 5.25 kB / 1.27 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001432/1.213, allocations: 8.703 kB / 1.27 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.453e-05/1.213, allocations: 20.09 kB / 1.27 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/1.213, allocations: 11.48 kB / 1.27 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.541e-05/1.213, allocations: 17.28 kB / 1.27 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.425e-05/1.213, allocations: 9.734 kB / 1.27 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/1.213, allocations: 2.062 kB / 1.27 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.936e-06/1.213, allocations: 5.625 kB / 1.27 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.662e-05/1.213, allocations: 2.188 kB / 1.27 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.615e-05/1.213, allocations: 10.56 kB / 1.27 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.104e-05/1.213, allocations: 22.95 kB / 1.27 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/1.213, allocations: 0.5156 kB / 1.27 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.804e-06/1.213, allocations: 0.75 kB / 1.27 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.42e-06/1.213, allocations: 0 / 1.27 GB, free: 6.629 MB / 0.9981 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.0003926/1.213, allocations: 336.2 kB / 1.271 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/1.214, allocations: 10.11 kB / 1.271 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.273e-05/1.214, allocations: 35.5 kB / 1.271 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.267e-05/1.214, allocations: 15.12 kB / 1.271 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.381e-05/1.214, allocations: 171 kB / 1.271 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/1.214, allocations: 1.125 kB / 1.271 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/1.214, allocations: 1.875 kB / 1.271 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/1.214, allocations: 53.41 kB / 1.271 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/1.214, allocations: 3.938 kB / 1.271 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.415e-06/1.214, allocations: 0 / 1.271 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/1.214, allocations: 0.9375 kB / 1.271 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/1.214, allocations: 36.7 kB / 1.271 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002726/1.214, allocations: 246.3 kB / 1.271 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/1.214, allocations: 39.83 kB / 1.271 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.946e-05/1.215, allocations: 31.33 kB / 1.271 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/1.215, allocations: 1.703 kB / 1.271 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/1.215, allocations: 36.11 kB / 1.271 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/1.215, allocations: 0 / 1.271 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003601/1.215, allocations: 79.27 kB / 1.271 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/1.215, allocations: 52.83 kB / 1.271 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.957e-05/1.215, allocations: 105.7 kB / 1.272 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.456e-06/1.215, allocations: 25.7 kB / 1.272 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.941e-05/1.215, allocations: 85.92 kB / 1.272 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/1.215, allocations: 5.75 kB / 1.272 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.979e-05/1.215, allocations: 20.44 kB / 1.272 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.532e-05/1.215, allocations: 312.5 kB / 1.272 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.667e-05/1.215, allocations: 14.66 kB / 1.272 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.583e-05/1.215, allocations: 22.38 kB / 1.272 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/1.215, allocations: 36.97 kB / 1.272 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/1.215, allocations: 4.594 kB / 1.272 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002007/1.216, allocations: 62.59 kB / 1.272 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/1.216, allocations: 7.391 kB / 1.272 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/1.216, allocations: 4.844 kB / 1.272 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/1.216, allocations: 0 / 1.272 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.595e-05/1.216, allocations: 9.188 kB / 1.272 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/1.216, allocations: 4.75 kB / 1.272 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.136e-05/1.216, allocations: 6.328 kB / 1.272 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/1.216, allocations: 4.906 kB / 1.272 GB, free: 4.859 MB / 0.9981 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.074e-05/1.216, allocations: 112.2 kB / 1.272 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/1.216, allocations: 1.234 kB / 1.272 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.736e-05/1.216, allocations: 9.109 kB / 1.272 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/1.216, allocations: 0 / 1.272 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/1.216, allocations: 0.8438 kB / 1.272 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/1.216, allocations: 0.5625 kB / 1.272 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/1.216, allocations: 160.4 kB / 1.272 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/1.216, allocations: 3.938 kB / 1.272 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.402e-05/1.216, allocations: 9.172 kB / 1.272 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/1.216, allocations: 192 / 1.272 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/1.216, allocations: 1.359 kB / 1.272 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/1.216, allocations: 0.7812 kB / 1.272 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/1.216, allocations: 8 kB / 1.272 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/1.216, allocations: 170.8 kB / 1.273 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.476e-05/1.216, allocations: 86.81 kB / 1.273 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/1.216, allocations: 0.8438 kB / 1.273 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.531e-05/1.217, allocations: 6.109 kB / 1.273 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/1.217, allocations: 10.72 kB / 1.273 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/1.217, allocations: 0.6562 kB / 1.273 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.097e-05/1.217, allocations: 80.67 kB / 1.273 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.217, allocations: 0 / 1.273 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002101/1.217, allocations: 3.5 kB / 1.273 GB, free: 4.195 MB / 0.9981 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.0004797/1.217, allocations: 0.6966 MB / 1.273 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002265/1.218, allocations: 39.23 kB / 1.273 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/1.218, allocations: 0 / 1.273 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.471e-05/1.218, allocations: 21.02 kB / 1.274 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/1.218, allocations: 9.062 kB / 1.274 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004232/1.218, allocations: 136.2 kB / 1.274 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/1.219, allocations: 0.6757 MB / 1.274 GB, free: 18.66 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.484e-05/1.219, allocations: 1.766 kB / 1.274 GB, free: 18.66 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.576e-05/1.219, allocations: 12.38 kB / 1.274 GB, free: 18.65 MB / 1.014 GB Notification: Performance of SimCode: time 2.71e-07/1.219, allocations: 0 / 1.274 GB, free: 18.65 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02342/1.242, allocations: 1.279 MB / 1.276 GB, free: 18.28 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.068/9.31, allocations: 20.2 kB / 1.276 GB, free: 18.27 MB / 1.014 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.65607482707128]