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.005159/0.005159, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.00142/0.00142, allocations: 193.6 kB / 16.67 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.271/1.271, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.313/2.313, allocations: 437.1 MB / 0.7105 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001754/0.001754, allocations: 72.11 kB / 1.018 GB, free: 9.801 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6239/0.6257, allocations: 151.6 MB / 1.166 GB, free: 3.703 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001588/0.6273, allocations: 0.6692 MB / 1.167 GB, free: 3.039 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0007902/0.6281, allocations: 0.8001 MB / 1.168 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.643e-05/0.6281, allocations: 0 / 1.168 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.107e-05/0.6282, allocations: 3.938 kB / 1.168 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.04e-05/0.6282, allocations: 11.86 kB / 1.168 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001027/0.6283, allocations: 4 kB / 1.168 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.807e-05/0.6284, allocations: 27.98 kB / 1.168 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 7.976e-05/0.6285, allocations: 11.98 kB / 1.168 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.846e-05/0.6286, allocations: 15.86 kB / 1.168 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.409e-05/0.6286, allocations: 8 kB / 1.168 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.6286, allocations: 4 kB / 1.168 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.184e-06/0.6286, allocations: 0 / 1.168 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.573e-05/0.6286, allocations: 7.922 kB / 1.168 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.359e-05/0.6287, allocations: 8 kB / 1.168 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 6.586e-05/0.6287, allocations: 19.91 kB / 1.168 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.6287, allocations: 0 / 1.168 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.532e-06/0.6288, allocations: 0 / 1.168 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.6288, allocations: 4 kB / 1.168 GB, free: 2.102 MB / 0.8887 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.0004039/0.6292, allocations: 335.2 kB / 1.168 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.6292, allocations: 12.92 kB / 1.168 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.913e-05/0.6292, allocations: 30.75 kB / 1.168 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.711e-05/0.6293, allocations: 0.9375 kB / 1.168 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.6294, allocations: 180.2 kB / 1.168 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.101e-06/0.6294, allocations: 384 / 1.168 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.6294, allocations: 384 / 1.168 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.6296, allocations: 62.16 kB / 1.168 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.6296, allocations: 3.938 kB / 1.168 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.652e-06/0.6296, allocations: 0 / 1.168 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.6296, allocations: 0 / 1.168 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001643/0.6298, allocations: 31.97 kB / 1.168 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002876/0.6301, allocations: 249 kB / 1.169 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.6302, allocations: 50.38 kB / 1.169 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.429e-05/0.6303, allocations: 23.34 kB / 1.169 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.6303, allocations: 4 kB / 1.169 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.6303, allocations: 30.56 kB / 1.169 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.6304, allocations: 0 / 1.169 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003275/0.6307, allocations: 85.64 kB / 1.169 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.6307, allocations: 51.41 kB / 1.169 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.964e-05/0.6308, allocations: 101.8 kB / 1.169 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.6308, allocations: 25.7 kB / 1.169 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.763e-05/0.6309, allocations: 80.14 kB / 1.169 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.6309, allocations: 7.953 kB / 1.169 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.6309, allocations: 21.78 kB / 1.169 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.631, allocations: 318.8 kB / 1.169 GB, free: 216 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.39e-05/0.6311, allocations: 15.98 kB / 1.169 GB, free: 200 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.9e-05/0.6312, allocations: 11.98 kB / 1.169 GB, free: 188 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.6314, allocations: 44.75 kB / 1.169 GB, free: 140 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.6314, allocations: 8 kB / 1.17 GB, free: 132 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001859/0.6316, allocations: 69.62 kB / 1.17 GB, free: 56 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.6316, allocations: 4 kB / 1.17 GB, free: 52 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.6316, allocations: 0 / 1.17 GB, free: 52 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.6316, allocations: 0 / 1.17 GB, free: 52 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.032e-05/0.6317, allocations: 11.98 kB / 1.17 GB, free: 40 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.6317, allocations: 3.938 kB / 1.17 GB, free: 36 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.688e-05/0.6318, allocations: 11.98 kB / 1.17 GB, free: 24 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.6318, allocations: 4.031 kB / 1.17 GB, free: 20 kB / 0.8887 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.299e-05/0.6319, allocations: 109.8 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.169e-05/0.6319, allocations: 4 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.853e-05/0.6319, allocations: 3.125 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.6319, allocations: 0 / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.6319, allocations: 0 / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.6319, allocations: 3.984 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.6321, allocations: 157.6 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.6321, allocations: 0 / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.686e-05/0.6322, allocations: 15.98 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.6322, allocations: 0 / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.6322, allocations: 4 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.6322, allocations: 3.938 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.6322, allocations: 0 / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.6324, allocations: 167.4 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.052e-05/0.6325, allocations: 85.06 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.868e-06/0.6325, allocations: 0 / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.705e-05/0.6326, allocations: 7.984 kB / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.072e-05/0.6326, allocations: 4 kB / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.6326, allocations: 0 / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.873e-05/0.6327, allocations: 83.45 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6327, allocations: 0 / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001982/0.6329, allocations: 4 kB / 1.17 GB, free: 15.28 MB / 0.9044 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.0005276/0.6334, allocations: 0.7007 MB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001982/0.6336, allocations: 39.94 kB / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.6336, allocations: 0 / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.422e-05/0.6337, allocations: 19.98 kB / 1.171 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.6339, allocations: 3.984 kB / 1.171 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003324/0.6343, allocations: 129.1 kB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.6346, allocations: 0.6806 MB / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.791e-05/0.6346, allocations: 128 / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.077e-05/0.6346, allocations: 15.44 kB / 1.172 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.6346, allocations: 0 / 1.172 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4152/1.05, allocations: 1.262 MB / 1.173 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.155/10.21, allocations: 10.03 kB / 1.173 GB, free: 12.41 MB / 0.9044 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=400 --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