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.001063/0.001063, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001106/0.001106, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.266/1.266, allocations: 222.9 MB / 239.8 MB, free: 4.621 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.317/2.317, allocations: 437 MB / 0.7099 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 75.89 kB / 0.8687 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5674/0.5687, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001705/0.5705, allocations: 0.7395 MB / 1.017 GB, free: 2.035 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007077/0.5712, allocations: 0.7962 MB / 1.018 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.504e-05/0.5712, allocations: 4 kB / 1.018 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.818e-05/0.5713, allocations: 3.984 kB / 1.018 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.919e-05/0.5713, allocations: 0 / 1.018 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001016/0.5714, allocations: 4 kB / 1.018 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.199e-05/0.5715, allocations: 23.92 kB / 1.018 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.035e-05/0.5716, allocations: 4 kB / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.789e-05/0.5716, allocations: 7.938 kB / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.334e-05/0.5717, allocations: 11.98 kB / 1.018 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.5717, allocations: 4 kB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.968e-06/0.5717, allocations: 4 kB / 1.018 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.5717, allocations: 7.922 kB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.583e-05/0.5718, allocations: 7.984 kB / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 5.855e-05/0.5718, allocations: 23.91 kB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.5718, allocations: 0 / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.815e-06/0.5718, allocations: 0 / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.5718, allocations: 3.938 kB / 1.018 GB, free: 1.117 MB / 0.7637 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.0003703/0.5722, allocations: 339.3 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.5723, allocations: 12.03 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.178e-05/0.5723, allocations: 30.75 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.18e-05/0.5723, allocations: 8.844 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.422e-05/0.5724, allocations: 160.4 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.5724, allocations: 8.359 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.5725, allocations: 4.359 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.5726, allocations: 46.25 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.5726, allocations: 3.938 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.5726, allocations: 0 / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.5727, allocations: 11.98 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.5728, allocations: 31.91 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002585/0.5731, allocations: 240.9 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.5732, allocations: 42.53 kB / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.659e-05/0.5733, allocations: 28.91 kB / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.5733, allocations: 7.875 kB / 1.019 GB, free: 0 / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.5733, allocations: 30.56 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.5734, allocations: 0 / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003195/0.5737, allocations: 85.58 kB / 1.019 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.517e-05/0.5737, allocations: 55.53 kB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.319e-05/0.5738, allocations: 97.84 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.5738, allocations: 33.7 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.141e-05/0.5738, allocations: 80.14 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.504e-05/0.5739, allocations: 7.844 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.74e-05/0.5739, allocations: 13.72 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.325e-05/0.574, allocations: 318.8 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.026e-05/0.5741, allocations: 15.98 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.083e-05/0.5742, allocations: 19.98 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.5743, allocations: 36.77 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.5743, allocations: 3.938 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001746/0.5745, allocations: 69.66 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.5745, allocations: 8 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.5745, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.5745, allocations: 4 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.95e-05/0.5746, allocations: 7.984 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.5746, allocations: 0 / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.613e-05/0.5747, allocations: 7.984 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.5747, allocations: 0 / 1.02 GB, free: 15.05 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 6.326e-05/0.5748, allocations: 118.3 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/0.5748, allocations: 4 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.062e-05/0.5748, allocations: 3.125 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.5748, allocations: 0 / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.5748, allocations: 0 / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.5748, allocations: 4 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.575, allocations: 165.6 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.575, allocations: 0 / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.752e-05/0.5751, allocations: 7.938 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.5751, allocations: 0 / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.5751, allocations: 7.984 kB / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5751, allocations: 4 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.5751, allocations: 0 / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002084/0.5753, allocations: 167.4 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.87e-05/0.5753, allocations: 77.11 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.5754, allocations: 4 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.328e-05/0.5754, allocations: 8.031 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.5755, allocations: 4.172 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.5755, allocations: 4 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.553e-05/0.5755, allocations: 87.2 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5755, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000203/0.5757, allocations: 4 kB / 1.021 GB, free: 14.3 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.000459/0.5762, allocations: 0.7045 MB / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001763/0.5764, allocations: 35.95 kB / 1.021 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.5764, allocations: 0 / 1.021 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.77e-05/0.5765, allocations: 19.98 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.5767, allocations: 8.156 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003487/0.5771, allocations: 138.5 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/0.5773, allocations: 0.6731 MB / 1.022 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.102e-05/0.5773, allocations: 0 / 1.022 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.107e-05/0.5774, allocations: 11.42 kB / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.5774, allocations: 4 kB / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009809/0.5872, allocations: 1.062 MB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002041/0.5874, allocations: 204.8 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.652/2.239, allocations: 8 kB / 1.024 GB, free: 11.38 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