Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) 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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",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.001258/0.001258, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001303/0.001304, allocations: 198.2 kB / 16.54 MB, free: 6.672 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.261/1.261, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.51/2.51, allocations: 461.9 MB / 0.7346 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 63.59 kB / 0.8992 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2487, allocations: 157.4 MB / 1.053 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001963/0.2507, allocations: 0.8486 MB / 1.054 GB, free: 7.43 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001146/0.2508, allocations: 39.78 kB / 1.054 GB, free: 7.391 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.194e-05/0.2509, allocations: 4 kB / 1.054 GB, free: 7.387 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.742e-05/0.2509, allocations: 7.875 kB / 1.054 GB, free: 7.379 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.664e-05/0.251, allocations: 11.88 kB / 1.054 GB, free: 7.367 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.34e-05/0.2511, allocations: 23.97 kB / 1.054 GB, free: 7.344 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.082e-05/0.2512, allocations: 59.84 kB / 1.054 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.2513, allocations: 55.95 kB / 1.054 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.989e-05/0.2514, allocations: 19.88 kB / 1.054 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.469e-05/0.2514, allocations: 31.78 kB / 1.054 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.2514, allocations: 8 kB / 1.054 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.388e-06/0.2514, allocations: 4 kB / 1.054 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.814e-05/0.2515, allocations: 15.94 kB / 1.054 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.786e-05/0.2515, allocations: 39.73 kB / 1.054 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001004/0.2516, allocations: 67.98 kB / 1.054 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2516, allocations: 0 / 1.054 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2516, allocations: 0 / 1.054 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.2516, allocations: 0 / 1.054 GB, free: 7.047 MB / 0.8106 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.0003639/0.252, allocations: 379.3 kB / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.2521, allocations: 8.625 kB / 1.054 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.373e-05/0.2521, allocations: 38.75 kB / 1.055 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.442e-05/0.2521, allocations: 8.844 kB / 1.055 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.2523, allocations: 196.1 kB / 1.055 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.2523, allocations: 12.28 kB / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.2523, allocations: 4.375 kB / 1.055 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.2525, allocations: 93.05 kB / 1.055 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.2525, allocations: 7.875 kB / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-06/0.2525, allocations: 0 / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.2525, allocations: 4 kB / 1.055 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.717e-05/0.2526, allocations: 39.92 kB / 1.055 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004666/0.2531, allocations: 440.5 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.952e-05/0.2531, allocations: 41.28 kB / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.17e-05/0.2531, allocations: 21.84 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/0.2532, allocations: 3.938 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.2532, allocations: 34.56 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.153e-06/0.2532, allocations: 0 / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001486/0.2533, allocations: 61.45 kB / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.2534, allocations: 85.05 kB / 1.056 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.2535, allocations: 164.8 kB / 1.056 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.2535, allocations: 25.7 kB / 1.056 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.842e-05/0.2536, allocations: 100 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.364e-06/0.2536, allocations: 8.156 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.789e-05/0.2536, allocations: 17.72 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.212e-05/0.2537, allocations: 318.8 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.481e-05/0.2537, allocations: 8 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.297e-05/0.2538, allocations: 17.72 kB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.507e-05/0.2538, allocations: 25.72 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.2538, allocations: 4 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.379e-05/0.2539, allocations: 57.53 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.2539, allocations: 11.94 kB / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.2539, allocations: 0 / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.2539, allocations: 0 / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.178e-05/0.254, allocations: 4 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.254, allocations: 0 / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.845e-05/0.254, allocations: 11.84 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-06/0.254, allocations: 0 / 1.056 GB, free: 4.57 MB / 0.8106 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 6.66e-05/0.2541, allocations: 125.8 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.26e-05/0.2542, allocations: 11.84 kB / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.048e-05/0.2542, allocations: 11.88 kB / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2542, allocations: 0 / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2542, allocations: 0 / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.2542, allocations: 7.938 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003168/0.2545, allocations: 466.8 kB / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2545, allocations: 8.031 kB / 1.057 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.758e-05/0.2546, allocations: 3.984 kB / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.2546, allocations: 4 kB / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.2546, allocations: 4 kB / 1.057 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2546, allocations: 0 / 1.057 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2546, allocations: 0 / 1.057 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.017e-05/0.2547, allocations: 77.84 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.914e-05/0.2547, allocations: 93 kB / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.2547, allocations: 0 / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.075e-05/0.2548, allocations: 7.938 kB / 1.057 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.306e-05/0.2548, allocations: 0 / 1.057 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.2548, allocations: 0 / 1.057 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.634e-05/0.2549, allocations: 123.2 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2549, allocations: 0 / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001839/0.2551, allocations: 8 kB / 1.057 GB, free: 3.523 MB / 0.8106 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.0003631/0.2554, allocations: 0.6132 MB / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.476e-05/0.2555, allocations: 23.92 kB / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2555, allocations: 0 / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.308e-06/0.2556, allocations: 8.156 kB / 1.058 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/0.2557, allocations: 9.719 kB / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.2569, allocations: 1.323 MB / 1.059 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.2572, allocations: 0.6963 MB / 1.06 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.86e-05/0.2573, allocations: 4.438 kB / 1.06 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.512e-05/0.2573, allocations: 27.42 kB / 1.06 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of SimCode: time 5.11e-07/0.2573, allocations: 0 / 1.06 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02341/0.2807, allocations: 1.539 MB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.798/7.079, allocations: 27.39 kB / 1.061 GB, free: 15.19 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches