Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000838/0.000838, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005556/0.005556, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.56/2.56, allocations: 437.8 MB / 0.7121 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003543/0.0003544, allocations: 15.94 kB / 0.873 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6182/0.6186, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.00091/0.6195, allocations: 410.3 kB / 1.024 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009539/0.6205, allocations: 0.8001 MB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.872e-05/0.6206, allocations: 0 / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.893e-05/0.6206, allocations: 0 / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.643e-05/0.6207, allocations: 0 / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001279/0.6208, allocations: 7.984 kB / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.69e-05/0.6209, allocations: 23.92 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.086e-05/0.621, allocations: 4 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.684e-05/0.621, allocations: 11.94 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.758e-05/0.6211, allocations: 3.984 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.6211, allocations: 8 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.336e-06/0.6211, allocations: 0 / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.945e-05/0.6211, allocations: 11.92 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.027e-05/0.6212, allocations: 29.7 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.664e-05/0.6212, allocations: 23.89 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.6213, allocations: 4 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.362e-06/0.6213, allocations: 0 / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.6213, allocations: 0 / 1.024 GB, free: 14.51 MB / 0.7794 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.0004253/0.6217, allocations: 343.9 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.6217, allocations: 8.031 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.612e-05/0.6218, allocations: 34.75 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.5e-05/0.6218, allocations: 4.938 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.6219, allocations: 164.3 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.066e-06/0.622, allocations: 384 / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.622, allocations: 384 / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.6222, allocations: 62.23 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.6222, allocations: 3.938 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.6222, allocations: 0 / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.6222, allocations: 0 / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.6224, allocations: 51.88 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002899/0.6227, allocations: 245 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.6228, allocations: 46.48 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.311e-05/0.6229, allocations: 32.84 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.6229, allocations: 4 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.623, allocations: 30.56 kB / 1.025 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.623, allocations: 0 / 1.025 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.000351/0.6233, allocations: 101.6 kB / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.6234, allocations: 51.41 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.696e-05/0.6235, allocations: 101.8 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.6235, allocations: 25.7 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.703e-05/0.6235, allocations: 92.08 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.6235, allocations: 7.969 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.125e-05/0.6236, allocations: 13.72 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.903e-05/0.6237, allocations: 310.8 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.597e-05/0.6238, allocations: 23.98 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.511e-05/0.6238, allocations: 19.97 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.624, allocations: 48.89 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.624, allocations: 11.88 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002021/0.6242, allocations: 81.66 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.6242, allocations: 6.031 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.6242, allocations: 0 / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.6243, allocations: 0 / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.715e-05/0.6244, allocations: 11.98 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.6244, allocations: 0 / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.063e-05/0.6244, allocations: 12.03 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.6244, allocations: 0 / 1.026 GB, free: 12.37 MB / 0.7794 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 7.051e-05/0.6245, allocations: 118.3 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.6245, allocations: 3.906 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.316e-05/0.6246, allocations: 7.125 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.6246, allocations: 0 / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.6246, allocations: 3.938 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.6246, allocations: 0 / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/0.6247, allocations: 169.6 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.6248, allocations: 0 / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.143e-05/0.6248, allocations: 11.98 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.6248, allocations: 3.938 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.6248, allocations: 0 / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.6248, allocations: 0 / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.6249, allocations: 3.938 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.6251, allocations: 175.5 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.028e-05/0.6251, allocations: 77.11 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.6252, allocations: 7.984 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.29e-05/0.6252, allocations: 4 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.6253, allocations: 12.02 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.6253, allocations: 0 / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.295e-05/0.6253, allocations: 79.28 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6253, allocations: 0 / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002028/0.6255, allocations: 4 kB / 1.027 GB, free: 11.61 MB / 0.7794 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.0005522/0.6261, allocations: 0.7085 MB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001988/0.6263, allocations: 51.98 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.6263, allocations: 3.938 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.561e-05/0.6264, allocations: 23.98 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.6267, allocations: 2.25 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004031/0.6271, allocations: 146.6 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.6274, allocations: 0.677 MB / 1.029 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.344e-05/0.6274, allocations: 4 kB / 1.029 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.694e-05/0.6274, allocations: 7.438 kB / 1.029 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6275, allocations: 0 / 1.029 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01075/0.6382, allocations: 1.013 MB / 1.03 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000221/0.6385, allocations: 196.1 kB / 1.03 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.644/2.283, allocations: 0 / 1.03 GB, free: 8.746 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches