Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001895/0.001895, allocations: 117.1 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002373/0.002373, allocations: 215 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.546/1.546, allocations: 230.6 MB / 253.5 MB, free: 15.14 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.887/2.887, allocations: 476.7 MB / 0.7678 GB, free: 9.582 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_ton",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_ton",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002322/0.002322, allocations: 63.91 kB / 1.113 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.15/1.152, allocations: 169.9 MB / 1.279 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002336/1.155, allocations: 0.817 MB / 1.28 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001311/1.155, allocations: 45.23 kB / 1.28 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.143e-05/1.155, allocations: 0.9688 kB / 1.28 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.055e-05/1.155, allocations: 10.44 kB / 1.28 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.492e-05/1.155, allocations: 9.797 kB / 1.28 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 6.104e-05/1.155, allocations: 20.06 kB / 1.28 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001304/1.155, allocations: 59.11 kB / 1.28 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/1.155, allocations: 35.92 kB / 1.28 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.229e-05/1.155, allocations: 26.89 kB / 1.28 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.772e-05/1.155, allocations: 25.97 kB / 1.28 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/1.155, allocations: 10.12 kB / 1.28 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.063e-05/1.156, allocations: 10.5 kB / 1.28 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.813e-05/1.156, allocations: 16.11 kB / 1.28 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.754e-05/1.156, allocations: 37.83 kB / 1.28 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001531/1.156, allocations: 68.55 kB / 1.28 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/1.156, allocations: 0 / 1.28 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.016e-06/1.156, allocations: 1.125 kB / 1.28 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.13e-05/1.156, allocations: 7.938 kB / 1.28 GB, free: 11.01 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005597/1.156, allocations: 384.6 kB / 1.28 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/1.156, allocations: 9.625 kB / 1.281 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.078e-05/1.156, allocations: 6.094 kB / 1.281 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.413e-05/1.156, allocations: 38.83 kB / 1.281 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.643e-05/1.156, allocations: 13.98 kB / 1.281 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/1.157, allocations: 195.9 kB / 1.281 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/1.157, allocations: 7.906 kB / 1.281 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/1.157, allocations: 9.75 kB / 1.281 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/1.157, allocations: 104.2 kB / 1.281 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/1.157, allocations: 0 / 1.281 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/1.157, allocations: 1.844 kB / 1.281 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/1.157, allocations: 2.156 kB / 1.281 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/1.157, allocations: 35.48 kB / 1.281 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006868/1.158, allocations: 438.3 kB / 1.281 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.491e-05/1.158, allocations: 42.11 kB / 1.281 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.691e-05/1.158, allocations: 19.88 kB / 1.281 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.767e-06/1.158, allocations: 0.8906 kB / 1.281 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/1.158, allocations: 44.34 kB / 1.281 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/1.158, allocations: 0 / 1.281 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0002154/1.158, allocations: 57.34 kB / 1.281 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.882e-05/1.158, allocations: 78.2 kB / 1.282 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/1.159, allocations: 160.2 kB / 1.282 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/1.159, allocations: 27.05 kB / 1.282 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.941e-05/1.159, allocations: 103.1 kB / 1.282 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.196e-05/1.159, allocations: 10.34 kB / 1.282 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-05/1.159, allocations: 17.58 kB / 1.282 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001695/1.159, allocations: 319.9 kB / 1.282 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.902e-05/1.159, allocations: 4.047 kB / 1.282 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.109e-05/1.159, allocations: 20.73 kB / 1.282 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.484e-05/1.159, allocations: 31.16 kB / 1.282 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/1.159, allocations: 0 / 1.282 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001014/1.159, allocations: 57.97 kB / 1.282 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/1.159, allocations: 9 kB / 1.282 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/1.159, allocations: 0.9688 kB / 1.282 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/1.159, allocations: 1.844 kB / 1.282 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.385e-05/1.159, allocations: 9.938 kB / 1.282 GB, free: 8.891 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/1.159, allocations: 0 / 1.282 GB, free: 8.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.745e-05/1.159, allocations: 11.44 kB / 1.282 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/1.159, allocations: 1.094 kB / 1.282 GB, free: 8.883 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 0.0001092/1.159, allocations: 124.2 kB / 1.282 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.857e-05/1.159, allocations: 12.72 kB / 1.282 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.085e-05/1.159, allocations: 12.92 kB / 1.282 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/1.159, allocations: 0 / 1.282 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/1.159, allocations: 2 kB / 1.282 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/1.159, allocations: 0 / 1.282 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005032/1.16, allocations: 478.9 kB / 1.283 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/1.16, allocations: 1.094 kB / 1.283 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.245e-05/1.16, allocations: 2.875 kB / 1.283 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/1.16, allocations: 1.156 kB / 1.283 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/1.16, allocations: 5.641 kB / 1.283 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/1.16, allocations: 0.75 kB / 1.283 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.16, allocations: 0.7188 kB / 1.283 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/1.16, allocations: 85.03 kB / 1.283 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.167e-05/1.16, allocations: 90.23 kB / 1.283 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/1.16, allocations: 9.5 kB / 1.283 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.091e-05/1.16, allocations: 0.5312 kB / 1.283 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.211e-05/1.16, allocations: 6.422 kB / 1.283 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/1.16, allocations: 1.062 kB / 1.283 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001548/1.16, allocations: 121.3 kB / 1.283 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.16, allocations: 0 / 1.283 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001986/1.161, allocations: 7.312 kB / 1.283 GB, free: 7.953 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.000586/1.161, allocations: 0.6196 MB / 1.284 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001213/1.161, allocations: 15.31 kB / 1.284 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.161, allocations: 4.688 kB / 1.284 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.139e-05/1.161, allocations: 8.297 kB / 1.284 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001833/1.162, allocations: 9.703 kB / 1.284 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/1.163, allocations: 1.322 MB / 1.285 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/1.163, allocations: 0.6965 MB / 1.286 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.507e-05/1.163, allocations: 7.375 kB / 1.286 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.149e-05/1.164, allocations: 21.52 kB / 1.286 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of SimCode: time 4.61e-07/1.164, allocations: 0 / 1.286 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01962/1.183, allocations: 1.629 MB / 1.287 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.332/9.515, allocations: 23.34 kB / 1.287 GB, free: 4.957 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_ton_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_ton.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.266743643966038]