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.008883/0.008883, allocations: 105.4 kB / 15.74 MB, free: 6.008 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.001771/0.001771, allocations: 199.9 kB / 16.68 MB, free: 5.93 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.502/1.502, allocations: 222.9 MB / 240.4 MB, free: 4.145 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.649/2.649, allocations: 437.1 MB / 0.7105 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 63.91 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.3693, allocations: 151.6 MB / 1.166 GB, free: 7.258 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.002/0.3714, allocations: 0.6618 MB / 1.167 GB, free: 6.598 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.3725, allocations: 0.8082 MB / 1.168 GB, free: 5.777 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.248e-05/0.3725, allocations: 0 / 1.168 GB, free: 5.777 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.294e-05/0.3726, allocations: 3.984 kB / 1.168 GB, free: 5.773 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.718e-05/0.3727, allocations: 7.938 kB / 1.168 GB, free: 5.766 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001502/0.3728, allocations: 7.938 kB / 1.168 GB, free: 5.758 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.456e-05/0.3729, allocations: 19.92 kB / 1.168 GB, free: 5.738 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.373, allocations: 15.98 kB / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.695e-05/0.3731, allocations: 7.984 kB / 1.168 GB, free: 5.715 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.895e-05/0.3732, allocations: 15.92 kB / 1.168 GB, free: 5.699 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.3732, allocations: 0 / 1.168 GB, free: 5.699 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.052e-05/0.3732, allocations: 4 kB / 1.168 GB, free: 5.695 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.3732, allocations: 4 kB / 1.168 GB, free: 5.691 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.929e-05/0.3733, allocations: 3.938 kB / 1.168 GB, free: 5.688 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.006e-05/0.3734, allocations: 31.91 kB / 1.168 GB, free: 5.656 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3734, allocations: 0 / 1.168 GB, free: 5.656 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3734, allocations: 0 / 1.168 GB, free: 5.656 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.3734, allocations: 0 / 1.168 GB, free: 5.656 MB / 0.92 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.0004508/0.3738, allocations: 338.3 kB / 1.168 GB, free: 5.277 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.3739, allocations: 8.031 kB / 1.168 GB, free: 5.27 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.872e-05/0.3739, allocations: 34.75 kB / 1.168 GB, free: 5.227 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.787e-05/0.374, allocations: 4.922 kB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.3741, allocations: 164.4 kB / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.3741, allocations: 4.375 kB / 1.168 GB, free: 5.02 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.3741, allocations: 4.312 kB / 1.168 GB, free: 5.016 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.3743, allocations: 54.23 kB / 1.168 GB, free: 4.957 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3744, allocations: 11.86 kB / 1.168 GB, free: 4.945 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.3744, allocations: 0 / 1.168 GB, free: 4.945 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.3744, allocations: 0 / 1.168 GB, free: 4.945 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001637/0.3745, allocations: 31.97 kB / 1.168 GB, free: 4.914 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003435/0.3749, allocations: 245 kB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.375, allocations: 46.44 kB / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.893e-05/0.3751, allocations: 20.91 kB / 1.169 GB, free: 4.547 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.3752, allocations: 0 / 1.169 GB, free: 4.547 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.3752, allocations: 38.55 kB / 1.169 GB, free: 4.5 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.3752, allocations: 0 / 1.169 GB, free: 4.5 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003421/0.3755, allocations: 81.56 kB / 1.169 GB, free: 4.414 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.3756, allocations: 59.39 kB / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.139e-05/0.3757, allocations: 97.8 kB / 1.169 GB, free: 4.238 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.3757, allocations: 25.7 kB / 1.169 GB, free: 4.207 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.782e-05/0.3757, allocations: 84.14 kB / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.3758, allocations: 4.469 kB / 1.169 GB, free: 4.117 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/0.3758, allocations: 17.7 kB / 1.169 GB, free: 4.094 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.3759, allocations: 319 kB / 1.169 GB, free: 3.773 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.021e-05/0.376, allocations: 15.98 kB / 1.169 GB, free: 3.758 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.06e-05/0.3761, allocations: 19.98 kB / 1.169 GB, free: 3.738 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.3763, allocations: 40.81 kB / 1.169 GB, free: 3.695 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.3763, allocations: 3.938 kB / 1.169 GB, free: 3.691 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001777/0.3764, allocations: 65.67 kB / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.3765, allocations: 11.98 kB / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.3765, allocations: 0 / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.3765, allocations: 3.938 kB / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.777e-05/0.3766, allocations: 4 kB / 1.17 GB, free: 3.602 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.3766, allocations: 0 / 1.17 GB, free: 3.602 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.382e-05/0.3767, allocations: 7.984 kB / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.3767, allocations: 4 kB / 1.17 GB, free: 3.59 MB / 0.92 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.266e-05/0.3768, allocations: 118.1 kB / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.287e-05/0.3768, allocations: 0 / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.739e-05/0.3768, allocations: 7.125 kB / 1.17 GB, free: 3.457 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.3768, allocations: 3.984 kB / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3768, allocations: 0 / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3769, allocations: 0 / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.377, allocations: 161.5 kB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.377, allocations: 0 / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.995e-05/0.3771, allocations: 11.98 kB / 1.17 GB, free: 3.234 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3771, allocations: 4 kB / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.3771, allocations: 0 / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3771, allocations: 0 / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3771, allocations: 3.938 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.3774, allocations: 171.3 kB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.882e-05/0.3774, allocations: 77.11 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.3774, allocations: 4.031 kB / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.534e-05/0.3775, allocations: 7.984 kB / 1.17 GB, free: 2.938 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/0.3775, allocations: 4 kB / 1.17 GB, free: 2.934 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.3776, allocations: 0 / 1.17 GB, free: 2.934 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.828e-05/0.3776, allocations: 83.28 kB / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3776, allocations: 0 / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002186/0.3778, allocations: 7.984 kB / 1.17 GB, free: 2.844 MB / 0.92 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.0005275/0.3784, allocations: 0.6932 MB / 1.171 GB, free: 2.121 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001937/0.3786, allocations: 39.91 kB / 1.171 GB, free: 2.082 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3786, allocations: 96 / 1.171 GB, free: 2.082 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 7.916e-05/0.3787, allocations: 27.97 kB / 1.171 GB, free: 2.055 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.379, allocations: 0 / 1.171 GB, free: 2.055 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004528/0.3794, allocations: 131.1 kB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.3797, allocations: 0.6806 MB / 1.172 GB, free: 1.18 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.41e-05/0.3797, allocations: 7.906 kB / 1.172 GB, free: 1.172 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.624e-05/0.3797, allocations: 11.44 kB / 1.172 GB, free: 1.16 MB / 0.92 GB Notification: Performance of SimCode: time 2.91e-07/0.3798, allocations: 4.062 kB / 1.172 GB, free: 1.156 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01975/0.3995, allocations: 1.266 MB / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.463/7.862, allocations: 15.56 kB / 1.173 GB, free: 15.96 MB / 0.9356 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