Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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.001844/0.001844, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002913/0.002913, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.658/1.658, allocations: 230.6 MB / 256 MB, free: 8.004 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.947/2.947, allocations: 476.7 MB / 0.7707 GB, free: 4.273 MB / 0.6231 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_Btu,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",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.002088/0.002088, allocations: 64.67 kB / 1.117 GB, free: 8.984 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4061/0.4082, allocations: 169.9 MB / 1.283 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002741/0.411, allocations: 0.844 MB / 1.284 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001609/0.4111, allocations: 39.78 kB / 1.284 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.936e-05/0.4112, allocations: 4 kB / 1.284 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.004e-05/0.4112, allocations: 7.875 kB / 1.284 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.839e-05/0.4113, allocations: 11.88 kB / 1.284 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 6.013e-05/0.4114, allocations: 23.97 kB / 1.284 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.4115, allocations: 63.84 kB / 1.284 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.4117, allocations: 23.98 kB / 1.284 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.302e-05/0.4118, allocations: 35.8 kB / 1.284 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.707e-05/0.4118, allocations: 23.86 kB / 1.284 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.4118, allocations: 4 kB / 1.284 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.525e-05/0.4119, allocations: 8 kB / 1.284 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.575e-05/0.4119, allocations: 23.91 kB / 1.284 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.296e-05/0.4119, allocations: 27.75 kB / 1.284 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.4121, allocations: 83.8 kB / 1.285 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.4121, allocations: 0 / 1.285 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4121, allocations: 4 kB / 1.285 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.4121, allocations: 0 / 1.285 GB, free: 2.578 MB / 0.9825 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.0005101/0.4126, allocations: 302 kB / 1.285 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.4127, allocations: 8.031 kB / 1.285 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.021e-05/0.4127, allocations: 42.73 kB / 1.285 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.611e-05/0.4128, allocations: 8.891 kB / 1.285 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.413, allocations: 138.4 kB / 1.285 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.413, allocations: 384 / 1.285 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.413, allocations: 16.38 kB / 1.285 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.4132, allocations: 94.14 kB / 1.285 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.4132, allocations: 3.938 kB / 1.285 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.4133, allocations: 4 kB / 1.285 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.4133, allocations: 4 kB / 1.285 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.397e-05/0.4134, allocations: 39.92 kB / 1.285 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006398/0.414, allocations: 403.8 kB / 1.286 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.922e-05/0.4141, allocations: 37.19 kB / 1.286 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.171e-05/0.4141, allocations: 17.84 kB / 1.286 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.086e-06/0.4141, allocations: 0 / 1.286 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.372e-05/0.4142, allocations: 42.55 kB / 1.286 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.4142, allocations: 0 / 1.286 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0002029/0.4144, allocations: 57.53 kB / 1.286 GB, free: 1.223 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.713e-05/0.4144, allocations: 81.05 kB / 1.286 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.4146, allocations: 160.9 kB / 1.286 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.4146, allocations: 25.7 kB / 1.286 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.55e-05/0.4147, allocations: 108 kB / 1.286 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.406e-06/0.4147, allocations: 8.203 kB / 1.286 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.696e-05/0.4148, allocations: 21.66 kB / 1.286 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.4149, allocations: 322.8 kB / 1.286 GB, free: 472 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.896e-05/0.4149, allocations: 4 kB / 1.286 GB, free: 468 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.934e-05/0.415, allocations: 21.7 kB / 1.286 GB, free: 440 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.712e-05/0.415, allocations: 25.66 kB / 1.286 GB, free: 408 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.415, allocations: 4 kB / 1.286 GB, free: 404 kB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001081/0.4151, allocations: 57.59 kB / 1.287 GB, free: 340 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.4152, allocations: 11.94 kB / 1.287 GB, free: 328 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.4152, allocations: 0 / 1.287 GB, free: 328 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.4152, allocations: 0 / 1.287 GB, free: 328 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.528e-05/0.4152, allocations: 11.98 kB / 1.287 GB, free: 316 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.4153, allocations: 0 / 1.287 GB, free: 316 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.295e-05/0.4153, allocations: 3.953 kB / 1.287 GB, free: 312 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.4153, allocations: 4 kB / 1.287 GB, free: 308 kB / 0.9825 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 9.541e-05/0.4154, allocations: 117.9 kB / 1.287 GB, free: 180 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.033e-05/0.4154, allocations: 11.89 kB / 1.287 GB, free: 168 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.249e-05/0.4155, allocations: 11.8 kB / 1.287 GB, free: 156 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.4155, allocations: 4 kB / 1.287 GB, free: 152 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.91e-05/0.4155, allocations: 4 kB / 1.287 GB, free: 148 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.4155, allocations: 96 / 1.287 GB, free: 148 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005208/0.416, allocations: 453.8 kB / 1.287 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.416, allocations: 0 / 1.287 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.379e-05/0.4161, allocations: 4 kB / 1.287 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.4161, allocations: 0 / 1.287 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.4161, allocations: 0 / 1.287 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.4161, allocations: 0 / 1.287 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.4161, allocations: 7.938 kB / 1.287 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.4162, allocations: 85.94 kB / 1.287 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.671e-05/0.4162, allocations: 7.953 kB / 1.287 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.4162, allocations: 0 / 1.287 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.936e-05/0.4163, allocations: 0 / 1.287 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.954e-05/0.4163, allocations: 7.984 kB / 1.287 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.4163, allocations: 4 kB / 1.287 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001212/0.4164, allocations: 121.9 kB / 1.287 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.4164, allocations: 0 / 1.287 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001938/0.4166, allocations: 7.953 kB / 1.287 GB, free: 15.38 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.0005123/0.4171, allocations: 0.6248 MB / 1.288 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001172/0.4172, allocations: 19.94 kB / 1.288 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.4172, allocations: 160 / 1.288 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.128e-05/0.4172, allocations: 8 kB / 1.288 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001852/0.4174, allocations: 8 kB / 1.288 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.4191, allocations: 1.323 MB / 1.289 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.4194, allocations: 0.6924 MB / 1.29 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.96e-05/0.4195, allocations: 8.422 kB / 1.29 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.039e-05/0.4196, allocations: 23.42 kB / 1.29 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of SimCode: time 9.72e-07/0.4196, allocations: 0 / 1.29 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03083/0.4504, allocations: 1.695 MB / 1.292 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.6, allocations: 4.484 kB / 1.292 GB, free: 10.95 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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: 18.66871800017543]