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.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001814/0.001814, allocations: 192.8 kB / 16.25 MB, free: 6.641 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.313/1.313, allocations: 222.9 MB / 239.9 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.604/2.604, allocations: 469.8 MB / 0.7421 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001777/0.001777, allocations: 72.56 kB / 0.9082 GB, free: 34.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2421, allocations: 159.1 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001919/0.2441, allocations: 0.8876 MB / 1.064 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 9.704e-05/0.2442, allocations: 35.84 kB / 1.064 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.455e-05/0.2442, allocations: 7.938 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.605e-05/0.2443, allocations: 0 / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.493e-05/0.2444, allocations: 3.938 kB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.117e-05/0.2444, allocations: 19.98 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.918e-05/0.2445, allocations: 63.78 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.2446, allocations: 47.97 kB / 1.065 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.175e-05/0.2447, allocations: 27.86 kB / 1.065 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.475e-05/0.2447, allocations: 27.84 kB / 1.065 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.2448, allocations: 4 kB / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.172e-05/0.2448, allocations: 8 kB / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.918e-05/0.2448, allocations: 15.92 kB / 1.065 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.725e-05/0.2448, allocations: 35.75 kB / 1.065 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.542e-05/0.2449, allocations: 67.98 kB / 1.065 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.2449, allocations: 0 / 1.065 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.866e-06/0.245, allocations: 4 kB / 1.065 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.245, allocations: 7.938 kB / 1.065 GB, free: 13.28 MB / 0.8262 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.0004041/0.2454, allocations: 371.3 kB / 1.065 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.2454, allocations: 12.03 kB / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.826e-05/0.2455, allocations: 38.73 kB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.857e-05/0.2455, allocations: 16.75 kB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.2457, allocations: 192.1 kB / 1.065 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.2457, allocations: 4.375 kB / 1.065 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.2457, allocations: 12.38 kB / 1.065 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.2459, allocations: 103.8 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.2459, allocations: 3.938 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-06/0.2459, allocations: 0 / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.2459, allocations: 3.984 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.631e-05/0.246, allocations: 39.92 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005016/0.2465, allocations: 436.6 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.683e-05/0.2466, allocations: 37.25 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.213e-05/0.2466, allocations: 21.78 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.2466, allocations: 4 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.2467, allocations: 38.55 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.113e-06/0.2467, allocations: 0 / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.00015/0.2468, allocations: 57.48 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.2469, allocations: 77.11 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.247, allocations: 165 kB / 1.066 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.247, allocations: 25.95 kB / 1.066 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.251e-05/0.2471, allocations: 108 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.923e-06/0.2471, allocations: 3.906 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-05/0.2472, allocations: 17.72 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.2473, allocations: 322.8 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.528e-05/0.2473, allocations: 4 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.361e-05/0.2473, allocations: 17.72 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.029e-05/0.2474, allocations: 33.64 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2474, allocations: 4 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.513e-05/0.2475, allocations: 61.55 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.2475, allocations: 9.5 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2475, allocations: 3.984 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.2475, allocations: 0 / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.623e-05/0.2476, allocations: 11.98 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.2476, allocations: 0 / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.886e-05/0.2476, allocations: 7.906 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.289e-06/0.2476, allocations: 8 kB / 1.067 GB, free: 10.78 MB / 0.8262 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 7.784e-05/0.2477, allocations: 113.8 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.104e-05/0.2478, allocations: 11.84 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.096e-05/0.2478, allocations: 11.86 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.2478, allocations: 4 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.2478, allocations: 3.938 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.2478, allocations: 0 / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003867/0.2482, allocations: 470.8 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2482, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.952e-05/0.2482, allocations: 4 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.2482, allocations: 3.938 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-06/0.2482, allocations: 0 / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2483, allocations: 0 / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.2483, allocations: 4 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.766e-05/0.2484, allocations: 89.83 kB / 1.068 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.863e-05/0.2484, allocations: 81.02 kB / 1.068 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.2484, allocations: 4 kB / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.162e-05/0.2485, allocations: 3.984 kB / 1.068 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.352e-05/0.2485, allocations: 4 kB / 1.068 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.2485, allocations: 4 kB / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.879e-05/0.2486, allocations: 116.9 kB / 1.068 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2486, allocations: 8.031 kB / 1.068 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001751/0.2488, allocations: 4 kB / 1.068 GB, free: 9.746 MB / 0.8262 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.000398/0.2492, allocations: 0.6208 MB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.257e-05/0.2493, allocations: 20.03 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2493, allocations: 0 / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.449e-05/0.2493, allocations: 7.938 kB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001465/0.2494, allocations: 4 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.2506, allocations: 1.343 MB / 1.07 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.251, allocations: 0.6925 MB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.32e-05/0.251, allocations: 12.41 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.099e-05/0.251, allocations: 19.44 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.251, allocations: 4 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1555/0.4065, allocations: 1.461 MB / 1.072 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002247/0.4068, allocations: 219.3 kB / 1.072 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.78/2.187, allocations: 0 / 1.072 GB, free: 5.266 MB / 0.8262 GB (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 --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) 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) Reference file matches