Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 106.5 kB / 16.45 MB, free: 6.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 196.6 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.666/2.666, allocations: 443.5 MB / 0.7287 GB, free: 13.24 MB / 0.5919 GB " [Timeout remaining time 177] 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.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 79.88 kB / 1.056 GB, free: 5.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7978/0.7998, allocations: 160.7 MB / 1.213 GB, free: 3.871 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002726/0.8025, allocations: 0.8339 MB / 1.214 GB, free: 3.238 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002038/0.8027, allocations: 49.03 kB / 1.214 GB, free: 3.195 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.51e-05/0.8028, allocations: 0.9688 kB / 1.214 GB, free: 3.195 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.424e-05/0.8028, allocations: 11.86 kB / 1.214 GB, free: 3.184 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.803, allocations: 8.875 kB / 1.214 GB, free: 3.176 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 6.83e-05/0.803, allocations: 16.17 kB / 1.214 GB, free: 3.164 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.8032, allocations: 66.45 kB / 1.214 GB, free: 3.121 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001851/0.8034, allocations: 31.09 kB / 1.214 GB, free: 3.102 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.8035, allocations: 27.55 kB / 1.214 GB, free: 3.082 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.764e-05/0.8036, allocations: 24.64 kB / 1.214 GB, free: 3.062 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.636e-05/0.8036, allocations: 6.562 kB / 1.214 GB, free: 3.062 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.376e-05/0.8036, allocations: 9.438 kB / 1.214 GB, free: 3.059 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.62e-05/0.8036, allocations: 26.06 kB / 1.214 GB, free: 3.035 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.256e-05/0.8037, allocations: 26.53 kB / 1.214 GB, free: 3.016 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.8039, allocations: 75.38 kB / 1.214 GB, free: 2.957 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.8039, allocations: 0.8438 kB / 1.214 GB, free: 2.957 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.465e-06/0.8039, allocations: 0 / 1.214 GB, free: 2.957 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.8039, allocations: 0 / 1.214 GB, free: 2.957 MB / 0.92 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.0006781/0.8046, allocations: 378.7 kB / 1.214 GB, free: 2.559 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.001e-05/0.8046, allocations: 10.06 kB / 1.214 GB, free: 2.559 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.081e-05/0.8047, allocations: 48.83 kB / 1.215 GB, free: 2.504 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.777e-05/0.8048, allocations: 14.31 kB / 1.215 GB, free: 2.496 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003468/0.8051, allocations: 202.1 kB / 1.215 GB, free: 2.27 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.8051, allocations: 7.156 kB / 1.215 GB, free: 2.266 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.8052, allocations: 9.281 kB / 1.215 GB, free: 2.262 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.8054, allocations: 89.47 kB / 1.215 GB, free: 2.188 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.976e-05/0.8054, allocations: 8.938 kB / 1.215 GB, free: 2.18 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.8054, allocations: 5.125 kB / 1.215 GB, free: 2.176 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.8054, allocations: 5.188 kB / 1.215 GB, free: 2.172 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.8055, allocations: 36.33 kB / 1.215 GB, free: 2.156 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007806/0.8063, allocations: 436.5 kB / 1.215 GB, free: 1.719 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.061e-05/0.8064, allocations: 40.59 kB / 1.215 GB, free: 1.664 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.591e-05/0.8064, allocations: 19.16 kB / 1.215 GB, free: 1.645 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.8065, allocations: 1.094 kB / 1.215 GB, free: 1.645 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.498e-05/0.8065, allocations: 39.55 kB / 1.215 GB, free: 1.598 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.924e-06/0.8065, allocations: 0 / 1.215 GB, free: 1.598 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0002305/0.8067, allocations: 55.59 kB / 1.215 GB, free: 1.551 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.424e-05/0.8068, allocations: 86.39 kB / 1.216 GB, free: 1.449 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.807, allocations: 155.3 kB / 1.216 GB, free: 1.324 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.807, allocations: 30.8 kB / 1.216 GB, free: 1.289 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.564e-05/0.8071, allocations: 99.7 kB / 1.216 GB, free: 1.191 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.127e-06/0.8071, allocations: 5.297 kB / 1.216 GB, free: 1.188 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.004e-05/0.8072, allocations: 17.69 kB / 1.216 GB, free: 1.168 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.8073, allocations: 320.5 kB / 1.216 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.825e-05/0.8074, allocations: 4 kB / 1.216 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.854e-05/0.8074, allocations: 26.08 kB / 1.216 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.715e-05/0.8074, allocations: 27.31 kB / 1.216 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.8074, allocations: 3.938 kB / 1.216 GB, free: 0.793 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001024/0.8075, allocations: 59.42 kB / 1.216 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.8076, allocations: 9.375 kB / 1.216 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.8076, allocations: 0 / 1.216 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.381e-05/0.8076, allocations: 9.172 kB / 1.216 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.327e-05/0.8077, allocations: 9.562 kB / 1.216 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.8077, allocations: 5 kB / 1.216 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.544e-05/0.8077, allocations: 6.156 kB / 1.216 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.8077, allocations: 1.062 kB / 1.216 GB, free: 0.7227 MB / 0.92 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 8.989e-05/0.8078, allocations: 113.2 kB / 1.216 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.798e-05/0.8078, allocations: 12.08 kB / 1.216 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.216e-05/0.8079, allocations: 14.61 kB / 1.216 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.8079, allocations: 0.8125 kB / 1.216 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.8079, allocations: 4.688 kB / 1.216 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.8079, allocations: 0.875 kB / 1.216 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005097/0.8084, allocations: 474.1 kB / 1.217 GB, free: 72 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.8084, allocations: 4.875 kB / 1.217 GB, free: 68 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.199e-05/0.8084, allocations: 3.438 kB / 1.217 GB, free: 68 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.8084, allocations: 0 / 1.217 GB, free: 68 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.8084, allocations: 1.125 kB / 1.217 GB, free: 68 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.8084, allocations: 1.125 kB / 1.217 GB, free: 68 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.8084, allocations: 5.094 kB / 1.217 GB, free: 64 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.8086, allocations: 86.12 kB / 1.217 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.456e-05/0.8086, allocations: 84.34 kB / 1.217 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.8086, allocations: 5.109 kB / 1.217 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.005e-05/0.8087, allocations: 0 / 1.217 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.628e-05/0.8087, allocations: 5.094 kB / 1.217 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-06/0.8087, allocations: 1.094 kB / 1.217 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001183/0.8088, allocations: 126 kB / 1.217 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.8088, allocations: 0 / 1.217 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002005/0.809, allocations: 7 kB / 1.217 GB, free: 15.77 MB / 0.9356 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.0005557/0.8096, allocations: 0.6164 MB / 1.218 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000116/0.8097, allocations: 18.12 kB / 1.218 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.8097, allocations: 0 / 1.218 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-05/0.8097, allocations: 3.844 kB / 1.218 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/0.8099, allocations: 19.8 kB / 1.218 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001783/0.8117, allocations: 1.333 MB / 1.219 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/0.8121, allocations: 0.6948 MB / 1.22 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.966e-05/0.8121, allocations: 4.844 kB / 1.22 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.744e-05/0.8122, allocations: 26.67 kB / 1.22 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of SimCode: time 7.21e-07/0.8122, allocations: 5 kB / 1.22 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02526/0.8374, allocations: 1.581 MB / 1.221 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.193/9.03, allocations: 10.47 kB / 1.221 GB, free: 12.28 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.981229881290346]