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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001573/0.001573, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001891/0.001891, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.401/1.401, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.603/2.603, allocations: 437.1 MB / 0.7104 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 71.89 kB / 0.8694 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5873/0.5887, allocations: 151.6 MB / 1.017 GB, free: 2.453 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.002225/0.5909, allocations: 0.6709 MB / 1.018 GB, free: 1.781 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009286/0.5919, allocations: 0.7962 MB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.063e-05/0.592, allocations: 8 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.774e-05/0.592, allocations: 3.984 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.739e-05/0.5921, allocations: 3.938 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001287/0.5922, allocations: 4 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.168e-05/0.5923, allocations: 27.92 kB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.5924, allocations: 7.984 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.193e-05/0.5925, allocations: 15.92 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.666e-05/0.5925, allocations: 4 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.5925, allocations: 0 / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.033e-05/0.5926, allocations: 8 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.991e-05/0.5926, allocations: 11.92 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.85e-05/0.5926, allocations: 8 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.728e-05/0.5927, allocations: 19.91 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.5927, allocations: 0 / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.502e-06/0.5927, allocations: 0 / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.5927, allocations: 0 / 1.019 GB, free: 0.8516 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.000424/0.5932, allocations: 333.7 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.5932, allocations: 12.03 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.403e-05/0.5932, allocations: 34.75 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.243e-05/0.5933, allocations: 0.9375 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.5934, allocations: 172.2 kB / 1.02 GB, free: 220 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.5934, allocations: 4.375 kB / 1.02 GB, free: 216 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.5934, allocations: 384 / 1.02 GB, free: 216 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.5936, allocations: 50.23 kB / 1.02 GB, free: 160 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.5936, allocations: 3.938 kB / 1.02 GB, free: 156 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-06/0.5936, allocations: 0 / 1.02 GB, free: 156 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.5936, allocations: 0 / 1.02 GB, free: 156 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001643/0.5938, allocations: 39.95 kB / 1.02 GB, free: 116 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003241/0.5941, allocations: 249 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.5943, allocations: 42.44 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.61e-05/0.5944, allocations: 24.91 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.5944, allocations: 0 / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.5944, allocations: 42.44 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.5944, allocations: 0 / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003564/0.5948, allocations: 77.64 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.5948, allocations: 59.47 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.108e-05/0.5949, allocations: 105.8 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.5949, allocations: 25.7 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.129e-05/0.595, allocations: 80.14 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/0.595, allocations: 11.84 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-05/0.595, allocations: 13.72 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.5952, allocations: 314.8 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.291e-05/0.5953, allocations: 15.98 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.276e-05/0.5953, allocations: 19.98 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.5955, allocations: 44.81 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.5955, allocations: 3.938 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001946/0.5957, allocations: 61.61 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.5957, allocations: 9.5 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.5957, allocations: 4 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.5958, allocations: 0 / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.379e-05/0.5959, allocations: 7.984 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.5959, allocations: 4 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.979e-05/0.5959, allocations: 7.984 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-06/0.5959, allocations: 0 / 1.021 GB, free: 14.78 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.594e-05/0.596, allocations: 113.8 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.5961, allocations: 3.906 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.269e-05/0.5961, allocations: 11.12 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.5961, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.5961, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.5961, allocations: 3.984 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.5963, allocations: 157.6 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5963, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.257e-05/0.5963, allocations: 11.98 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.5963, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.5964, allocations: 4 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.5964, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.5964, allocations: 4 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.5966, allocations: 167.4 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.133e-05/0.5966, allocations: 81.05 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.5967, allocations: 4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.274e-05/0.5967, allocations: 3.984 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.5968, allocations: 12.03 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.5968, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.544e-05/0.5968, allocations: 79.28 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5968, allocations: 3.938 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002131/0.5971, allocations: 4 kB / 1.021 GB, free: 14.04 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.0005204/0.5976, allocations: 0.7045 MB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002069/0.5978, allocations: 35.97 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5978, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.433e-05/0.5979, allocations: 19.98 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.5982, allocations: 8.141 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004403/0.5987, allocations: 135.3 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.5989, allocations: 0.6768 MB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.182e-05/0.5989, allocations: 0 / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.003e-05/0.599, allocations: 11.44 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of SimCode: time 2.81e-07/0.599, allocations: 3.938 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01662/0.6156, allocations: 1.24 MB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.778/8.394, allocations: 10.7 kB / 1.024 GB, free: 11.17 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