Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.Sqrt,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.006697/0.006697, allocations: 101.7 kB / 15.73 MB, free: 5.969 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.001538/0.001538, allocations: 194.8 kB / 16.67 MB, free: 5.906 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.945/1.945, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.403/3.403, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002468/0.002468, allocations: 61.56 kB / 0.9504 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4354/0.4379, allocations: 140.4 MB / 1.088 GB, free: 1.953 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt): time 0.002613/0.4406, allocations: 0.6499 MB / 1.088 GB, free: 1.305 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001259/0.4419, allocations: 0.8004 MB / 1.089 GB, free: 0.4922 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.478e-05/0.442, allocations: 8 kB / 1.089 GB, free: 496 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.226e-05/0.442, allocations: 7.875 kB / 1.089 GB, free: 488 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.613e-05/0.4422, allocations: 0 / 1.089 GB, free: 488 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002082/0.4424, allocations: 7.984 kB / 1.089 GB, free: 480 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.4425, allocations: 27.92 kB / 1.089 GB, free: 452 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.4427, allocations: 3.984 kB / 1.089 GB, free: 448 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.121e-05/0.4428, allocations: 11.94 kB / 1.089 GB, free: 436 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.073e-05/0.4428, allocations: 11.98 kB / 1.089 GB, free: 424 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.4428, allocations: 0 / 1.089 GB, free: 424 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.718e-06/0.4429, allocations: 4 kB / 1.089 GB, free: 420 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.006e-05/0.4429, allocations: 7.938 kB / 1.089 GB, free: 412 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.216e-05/0.4429, allocations: 11.98 kB / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.912e-05/0.443, allocations: 23.84 kB / 1.089 GB, free: 376 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.4431, allocations: 0 / 1.089 GB, free: 376 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4431, allocations: 0 / 1.089 GB, free: 376 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.4431, allocations: 0 / 1.089 GB, free: 376 kB / 0.8419 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.0005512/0.4436, allocations: 334.4 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.4437, allocations: 12.03 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.544e-05/0.4437, allocations: 34.75 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.322e-05/0.4438, allocations: 4.844 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.4439, allocations: 164.4 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.4439, allocations: 4.375 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.444, allocations: 384 / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002247/0.4442, allocations: 54.17 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.4442, allocations: 3.938 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.4442, allocations: 0 / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.4442, allocations: 3.938 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001788/0.4444, allocations: 43.89 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003742/0.4448, allocations: 245 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.445, allocations: 42.48 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.949e-05/0.4451, allocations: 16.91 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.4451, allocations: 8 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.374e-05/0.4451, allocations: 34.56 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 3.196e-06/0.4452, allocations: 0 / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003688/0.4455, allocations: 81.58 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.4456, allocations: 51.41 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.948e-05/0.4457, allocations: 106 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.4457, allocations: 25.7 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.266e-05/0.4458, allocations: 84.05 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.4458, allocations: 8.562 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.892e-05/0.4458, allocations: 9.719 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.446, allocations: 310.8 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.74e-05/0.4461, allocations: 23.97 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.39e-05/0.4462, allocations: 23.92 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.4463, allocations: 40.77 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.4463, allocations: 3.938 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002069/0.4465, allocations: 73.56 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.4466, allocations: 4 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.4466, allocations: 4.094 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.4466, allocations: 0 / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.582e-05/0.4467, allocations: 11.98 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.4467, allocations: 0 / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.758e-05/0.4468, allocations: 4 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.4468, allocations: 3.984 kB / 1.091 GB, free: 14.3 MB / 0.8575 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 8.653e-05/0.4469, allocations: 110.1 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/0.4469, allocations: 4 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.291e-05/0.4469, allocations: 11.12 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.447, allocations: 0 / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.447, allocations: 0 / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.447, allocations: 0 / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.4472, allocations: 165.5 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.4472, allocations: 3.984 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.207e-05/0.4472, allocations: 11.94 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.4472, allocations: 0 / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.4473, allocations: 0 / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.4473, allocations: 0 / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4473, allocations: 0 / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002941/0.4476, allocations: 167.5 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.686e-05/0.4476, allocations: 85 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.4477, allocations: 4 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.429e-05/0.4477, allocations: 0 / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/0.4478, allocations: 7.984 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.4478, allocations: 4.031 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.072e-05/0.4479, allocations: 83.45 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4479, allocations: 0 / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002285/0.4481, allocations: 8 kB / 1.092 GB, free: 13.55 MB / 0.8575 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.0006148/0.4487, allocations: 0.7007 MB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002271/0.449, allocations: 35.95 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.449, allocations: 0 / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.744e-05/0.4491, allocations: 19.92 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.4494, allocations: 6.031 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005167/0.45, allocations: 143.3 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.4503, allocations: 0.6768 MB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.8e-05/0.4503, allocations: 0 / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.283e-05/0.4504, allocations: 7.438 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of SimCode: time 4.71e-07/0.4504, allocations: 0 / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02175/0.4721, allocations: 1.279 MB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.24/14.71, allocations: 1.875 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches