Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt,fileNamePrefix="Buildings_latest_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.006078/0.006078, allocations: 103.9 kB / 15.73 MB, free: 6.035 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.001229/0.00123, allocations: 196 kB / 16.67 MB, free: 5.969 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.925/2.925, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 67.91 kB / 1.054 GB, free: 7.582 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3665, allocations: 157.4 MB / 1.207 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.00228/0.3689, allocations: 0.6767 MB / 1.208 GB, free: 9.414 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001131/0.37, allocations: 0.7923 MB / 1.209 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.093e-05/0.3701, allocations: 4 kB / 1.209 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.852e-05/0.3702, allocations: 3.938 kB / 1.209 GB, free: 8.602 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.1e-05/0.3703, allocations: 0 / 1.209 GB, free: 8.602 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001486/0.3704, allocations: 11.92 kB / 1.209 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.786e-05/0.3705, allocations: 19.98 kB / 1.209 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.3706, allocations: 11.98 kB / 1.209 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.345e-05/0.3707, allocations: 15.92 kB / 1.209 GB, free: 8.543 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.199e-05/0.3707, allocations: 4 kB / 1.209 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.3708, allocations: 3.938 kB / 1.209 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.879e-06/0.3708, allocations: 4 kB / 1.209 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.3708, allocations: 7.938 kB / 1.209 GB, free: 8.523 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.426e-05/0.3708, allocations: 11.98 kB / 1.209 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.129e-05/0.3709, allocations: 19.91 kB / 1.209 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3709, allocations: 0 / 1.209 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.344e-06/0.371, allocations: 4 kB / 1.209 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.098e-05/0.371, allocations: 0 / 1.209 GB, free: 8.488 MB / 0.9669 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.0004797/0.3715, allocations: 339.7 kB / 1.209 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.3715, allocations: 12.62 kB / 1.209 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.81e-05/0.3716, allocations: 34.73 kB / 1.209 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.627e-05/0.3716, allocations: 0.9375 kB / 1.209 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.3717, allocations: 164.4 kB / 1.209 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.3717, allocations: 4.375 kB / 1.209 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-06/0.3718, allocations: 384 / 1.209 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.3719, allocations: 50.25 kB / 1.209 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.372, allocations: 7.922 kB / 1.209 GB, free: 7.785 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.372, allocations: 7.875 kB / 1.209 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.372, allocations: 0 / 1.209 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001705/0.3722, allocations: 31.97 kB / 1.21 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000334/0.3725, allocations: 248.8 kB / 1.21 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.3727, allocations: 46.53 kB / 1.21 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.792e-05/0.3728, allocations: 24.84 kB / 1.21 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.3728, allocations: 0 / 1.21 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.3728, allocations: 38.5 kB / 1.21 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.3728, allocations: 0 / 1.21 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003698/0.3732, allocations: 81.64 kB / 1.21 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.3732, allocations: 55.41 kB / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.384e-05/0.3733, allocations: 97.84 kB / 1.21 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.3733, allocations: 29.7 kB / 1.21 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.867e-05/0.3734, allocations: 80.14 kB / 1.21 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.3734, allocations: 7.906 kB / 1.21 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/0.3735, allocations: 13.84 kB / 1.21 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.3736, allocations: 318.8 kB / 1.211 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.306e-05/0.3737, allocations: 15.98 kB / 1.211 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.463e-05/0.3738, allocations: 19.92 kB / 1.211 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.3739, allocations: 36.89 kB / 1.211 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.3739, allocations: 11.94 kB / 1.211 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001966/0.3741, allocations: 61.66 kB / 1.211 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.3742, allocations: 8 kB / 1.211 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.3742, allocations: 0 / 1.211 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.3742, allocations: 0 / 1.211 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.046e-05/0.3743, allocations: 7.984 kB / 1.211 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3743, allocations: 4 kB / 1.211 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.068e-05/0.3743, allocations: 12.02 kB / 1.211 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-06/0.3744, allocations: 0 / 1.211 GB, free: 6.418 MB / 0.9669 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.348e-05/0.3744, allocations: 113.8 kB / 1.211 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.3745, allocations: 3.938 kB / 1.211 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.313e-05/0.3745, allocations: 7.125 kB / 1.211 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3745, allocations: 0 / 1.211 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3745, allocations: 0 / 1.211 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3745, allocations: 0 / 1.211 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.3747, allocations: 161.6 kB / 1.211 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3747, allocations: 4 kB / 1.211 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.82e-05/0.3748, allocations: 8 kB / 1.211 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.3748, allocations: 3.984 kB / 1.211 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.3748, allocations: 192 / 1.211 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.3748, allocations: 0 / 1.211 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3748, allocations: 3.938 kB / 1.211 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002516/0.375, allocations: 179.3 kB / 1.211 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.272e-05/0.3751, allocations: 77.11 kB / 1.211 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.3751, allocations: 4 kB / 1.211 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.068e-05/0.3752, allocations: 0 / 1.211 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.3752, allocations: 7.984 kB / 1.211 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.3753, allocations: 0 / 1.211 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.311e-05/0.3753, allocations: 87.22 kB / 1.211 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3753, allocations: 0 / 1.211 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002112/0.3755, allocations: 4 kB / 1.211 GB, free: 5.676 MB / 0.9669 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.000573/0.3761, allocations: 0.6968 MB / 1.212 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002225/0.3763, allocations: 43.98 kB / 1.212 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3764, allocations: 0 / 1.212 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.411e-05/0.3764, allocations: 19.92 kB / 1.212 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.3767, allocations: 5.562 kB / 1.212 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005083/0.3772, allocations: 147 kB / 1.212 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.3775, allocations: 0.6729 MB / 1.213 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.856e-05/0.3775, allocations: 8.125 kB / 1.213 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.999e-05/0.3776, allocations: 15.42 kB / 1.213 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of SimCode: time 3.01e-07/0.3776, allocations: 0 / 1.213 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02023/0.3978, allocations: 1.277 MB / 1.214 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.442/7.84, allocations: 24.58 kB / 1.214 GB, free: 2.762 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches