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.001337/0.001337, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001527/0.001527, allocations: 188.8 kB / 16.25 MB, free: 6.633 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.298/1.298, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.693/2.693, allocations: 461.9 MB / 0.7344 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 64.52 kB / 0.8987 GB, free: 37.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3929/0.3943, allocations: 157.4 MB / 1.052 GB, free: 8.645 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.002606/0.397, allocations: 0.7262 MB / 1.053 GB, free: 7.918 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001077/0.3981, allocations: 0.804 MB / 1.054 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.283e-05/0.3981, allocations: 0 / 1.054 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.858e-05/0.3982, allocations: 3.984 kB / 1.054 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.067e-05/0.3983, allocations: 7.938 kB / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001654/0.3984, allocations: 7.984 kB / 1.054 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.191e-05/0.3985, allocations: 27.92 kB / 1.054 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.3986, allocations: 4 kB / 1.054 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.37e-05/0.3987, allocations: 11.94 kB / 1.054 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.407e-05/0.3988, allocations: 11.98 kB / 1.054 GB, free: 7.027 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.3988, allocations: 3.938 kB / 1.054 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.412e-05/0.3988, allocations: 4 kB / 1.054 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.146e-05/0.3988, allocations: 3.938 kB / 1.054 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.623e-05/0.3989, allocations: 11.98 kB / 1.054 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.08e-05/0.399, allocations: 23.89 kB / 1.054 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.399, allocations: 4 kB / 1.054 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.194e-06/0.399, allocations: 0 / 1.054 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.399, allocations: 0 / 1.054 GB, free: 6.977 MB / 0.8106 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.0005554/0.3996, allocations: 335.8 kB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/0.3996, allocations: 8.625 kB / 1.054 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.193e-05/0.3997, allocations: 34.75 kB / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.728e-05/0.3997, allocations: 4.844 kB / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.3998, allocations: 160.4 kB / 1.055 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.3999, allocations: 12.36 kB / 1.055 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.3999, allocations: 4.375 kB / 1.055 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.4001, allocations: 50.19 kB / 1.055 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.4001, allocations: 3.938 kB / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.4001, allocations: 0 / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.4001, allocations: 0 / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/0.4003, allocations: 43.88 kB / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003652/0.4007, allocations: 244.9 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.4008, allocations: 46.47 kB / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.331e-05/0.4009, allocations: 16.91 kB / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.401, allocations: 0 / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.401, allocations: 38.56 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.401, allocations: 4 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003552/0.4014, allocations: 73.64 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.4014, allocations: 55.41 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.05e-05/0.4015, allocations: 101.8 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.4016, allocations: 25.7 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.176e-05/0.4016, allocations: 84.2 kB / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.4016, allocations: 11.91 kB / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.342e-05/0.4017, allocations: 13.72 kB / 1.055 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.4018, allocations: 310.8 kB / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.728e-05/0.4019, allocations: 23.97 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.755e-05/0.402, allocations: 11.98 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.4021, allocations: 40.89 kB / 1.056 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.4021, allocations: 3.938 kB / 1.056 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001764/0.4023, allocations: 69.56 kB / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.4023, allocations: 8 kB / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.4024, allocations: 3.984 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.4024, allocations: 0 / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.665e-05/0.4025, allocations: 15.86 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.4025, allocations: 4.031 kB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.432e-05/0.4025, allocations: 7.984 kB / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.4026, allocations: 4 kB / 1.056 GB, free: 4.902 MB / 0.8106 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 9.261e-05/0.4027, allocations: 109.8 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.05e-05/0.4027, allocations: 0 / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.7e-05/0.4027, allocations: 15.12 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.4027, allocations: 0 / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.4027, allocations: 0 / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.4027, allocations: 0 / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.4029, allocations: 165.6 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.4029, allocations: 0 / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.875e-05/0.403, allocations: 8 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.403, allocations: 3.938 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.403, allocations: 3.984 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.403, allocations: 0 / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.403, allocations: 0 / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002457/0.4033, allocations: 167.4 kB / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.018e-05/0.4033, allocations: 81.11 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.4033, allocations: 0 / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.215e-05/0.4034, allocations: 4 kB / 1.056 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.334e-05/0.4035, allocations: 7.984 kB / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.4035, allocations: 0 / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.15e-05/0.4035, allocations: 79.28 kB / 1.056 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4035, allocations: 0 / 1.056 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002089/0.4037, allocations: 11.94 kB / 1.056 GB, free: 4.168 MB / 0.8106 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.0006399/0.4044, allocations: 0.6928 MB / 1.057 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002338/0.4046, allocations: 47.92 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4046, allocations: 4 kB / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.782e-05/0.4047, allocations: 11.98 kB / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.405, allocations: 5.406 kB / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004305/0.4055, allocations: 139.4 kB / 1.057 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.4058, allocations: 0.6729 MB / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.442e-05/0.4058, allocations: 0 / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.44e-05/0.4059, allocations: 15.42 kB / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.4059, allocations: 0 / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01308/0.419, allocations: 1.119 MB / 1.059 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002174/0.4192, allocations: 201.3 kB / 1.059 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.863/2.283, allocations: 3.938 kB / 1.059 GB, free: 1.227 MB / 0.8106 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