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.001351/0.001351, allocations: 114.8 kB / 17.54 MB, free: 4.762 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.001372/0.001372, allocations: 181.9 kB / 20.71 MB, free: 1.609 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.308/1.308, allocations: 225.6 MB / 249.3 MB, free: 3.188 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.492/2.492, allocations: 476.7 MB / 0.7628 GB, free: 15.3 MB / 0.6075 GB " [Timeout remaining time 177] 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.001959/0.001959, allocations: 71.89 kB / 1.107 GB, free: 5.156 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8108/0.8128, allocations: 168.7 MB / 1.271 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001645/0.8144, allocations: 0.6767 MB / 1.272 GB, free: 7 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000771/0.8152, allocations: 0.7992 MB / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.375e-05/0.8152, allocations: 0.8438 kB / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.192e-05/0.8152, allocations: 0 / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.752e-05/0.8153, allocations: 5.203 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001247/0.8154, allocations: 17.19 kB / 1.273 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.187e-05/0.8155, allocations: 26.38 kB / 1.273 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.659e-05/0.8156, allocations: 10.88 kB / 1.273 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.986e-05/0.8156, allocations: 8.484 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.917e-05/0.8157, allocations: 9.641 kB / 1.273 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.8157, allocations: 2.156 kB / 1.273 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.846e-06/0.8157, allocations: 2.281 kB / 1.273 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.607e-05/0.8157, allocations: 2.438 kB / 1.273 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.488e-05/0.8157, allocations: 10.89 kB / 1.273 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.047e-05/0.8158, allocations: 26.39 kB / 1.273 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.8158, allocations: 4 kB / 1.273 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8158, allocations: 2.062 kB / 1.273 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.8158, allocations: 0 / 1.273 GB, free: 6.508 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.0003492/0.8162, allocations: 331.9 kB / 1.273 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.8162, allocations: 9.531 kB / 1.273 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.191e-05/0.8162, allocations: 40.33 kB / 1.273 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.957e-05/0.8163, allocations: 5.766 kB / 1.273 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.9e-05/0.8163, allocations: 175.3 kB / 1.274 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.8163, allocations: 1.219 kB / 1.274 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.8164, allocations: 5.969 kB / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.8165, allocations: 49.88 kB / 1.274 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.8165, allocations: 3.938 kB / 1.274 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.8165, allocations: 0 / 1.274 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.8165, allocations: 1 kB / 1.274 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/0.8167, allocations: 33.06 kB / 1.274 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002389/0.8169, allocations: 245.5 kB / 1.274 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.8171, allocations: 45.05 kB / 1.274 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.115e-05/0.8171, allocations: 18.28 kB / 1.274 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.8172, allocations: 1.375 kB / 1.274 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.8172, allocations: 36.2 kB / 1.274 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.8172, allocations: 7.938 kB / 1.274 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003332/0.8175, allocations: 83.48 kB / 1.274 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.213e-05/0.8175, allocations: 52.73 kB / 1.274 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.175e-05/0.8176, allocations: 101.3 kB / 1.274 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.483e-06/0.8176, allocations: 25.7 kB / 1.274 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.222e-05/0.8176, allocations: 86 kB / 1.274 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.553e-05/0.8176, allocations: 9.5 kB / 1.274 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.64e-05/0.8177, allocations: 12.78 kB / 1.274 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.852e-05/0.8177, allocations: 313.5 kB / 1.275 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.32e-05/0.8178, allocations: 17.62 kB / 1.275 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.295e-05/0.8178, allocations: 14.44 kB / 1.275 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.818, allocations: 45.53 kB / 1.275 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.818, allocations: 3.938 kB / 1.275 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001852/0.8182, allocations: 67.34 kB / 1.275 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.8182, allocations: 5.281 kB / 1.275 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.8182, allocations: 0.75 kB / 1.275 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.8182, allocations: 0 / 1.275 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.279e-05/0.8183, allocations: 10.22 kB / 1.275 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.8183, allocations: 4.938 kB / 1.275 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.657e-05/0.8183, allocations: 5.453 kB / 1.275 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.8184, allocations: 0.7812 kB / 1.275 GB, free: 4.75 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 4.181e-05/0.8184, allocations: 112.2 kB / 1.275 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/0.8184, allocations: 6.328 kB / 1.275 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.55e-05/0.8184, allocations: 8.281 kB / 1.275 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.8184, allocations: 0 / 1.275 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.8184, allocations: 0.8438 kB / 1.275 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.8185, allocations: 3.516 kB / 1.275 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.8186, allocations: 166.7 kB / 1.275 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.8186, allocations: 0 / 1.275 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.55e-05/0.8186, allocations: 9.078 kB / 1.275 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.8186, allocations: 0 / 1.275 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.8186, allocations: 1.156 kB / 1.275 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.8186, allocations: 0 / 1.275 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.8186, allocations: 1.094 kB / 1.275 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/0.8188, allocations: 176.7 kB / 1.275 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.643e-05/0.8188, allocations: 82.78 kB / 1.275 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.8188, allocations: 3.938 kB / 1.275 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.08e-05/0.8189, allocations: 4.156 kB / 1.275 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/0.819, allocations: 2.078 kB / 1.275 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.819, allocations: 2.25 kB / 1.275 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.081e-05/0.819, allocations: 80.53 kB / 1.275 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.819, allocations: 0 / 1.275 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001994/0.8192, allocations: 11.41 kB / 1.275 GB, free: 4.082 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.0003928/0.8196, allocations: 0.6982 MB / 1.276 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001937/0.8198, allocations: 37.2 kB / 1.276 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.8198, allocations: 0 / 1.276 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.738e-05/0.8198, allocations: 15.59 kB / 1.276 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.8201, allocations: 7.297 kB / 1.276 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003467/0.8205, allocations: 139.4 kB / 1.276 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.8207, allocations: 0.6779 MB / 1.277 GB, free: 18.55 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.001e-05/0.8207, allocations: 4.969 kB / 1.277 GB, free: 18.55 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.252e-05/0.8208, allocations: 9.984 kB / 1.277 GB, free: 18.54 MB / 1.014 GB Notification: Performance of SimCode: time 2.9e-07/0.8208, allocations: 1.094 kB / 1.277 GB, free: 18.54 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0227/0.8435, allocations: 1.26 MB / 1.278 GB, free: 18.18 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.796/7.64, allocations: 7.188 kB / 1.278 GB, free: 18.18 MB / 1.014 GB " [Timeout remaining time 292] (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 --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/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: 12.928426394999406]