Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.From_Btu,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_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.0009026/0.0009026, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005873/0.005873, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.324/1.324, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.478/2.478, allocations: 437.8 MB / 0.7121 GB, free: 7 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000379/0.0003789, allocations: 12 kB / 0.873 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5916/0.592, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.0009102/0.593, allocations: 0.5471 MB / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001119/0.5931, allocations: 39.78 kB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.34e-05/0.5932, allocations: 8 kB / 1.024 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.16e-05/0.5932, allocations: 7.922 kB / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.655e-05/0.5933, allocations: 0 / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 4.174e-05/0.5933, allocations: 15.98 kB / 1.024 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.203e-05/0.5934, allocations: 59.8 kB / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.5935, allocations: 35.97 kB / 1.024 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.367e-05/0.5936, allocations: 23.86 kB / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.537e-05/0.5936, allocations: 15.86 kB / 1.024 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.5937, allocations: 0 / 1.024 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.985e-06/0.5937, allocations: 4 kB / 1.024 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.618e-05/0.5937, allocations: 11.92 kB / 1.024 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.802e-05/0.5937, allocations: 53.45 kB / 1.024 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.362e-05/0.5938, allocations: 69.94 kB / 1.024 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.5939, allocations: 3.938 kB / 1.024 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5939, allocations: 0 / 1.024 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.5939, allocations: 4 kB / 1.024 GB, free: 14.95 MB / 0.7794 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.0003454/0.5942, allocations: 367.2 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.5943, allocations: 12.03 kB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.497e-05/0.5943, allocations: 38.73 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.521e-05/0.5944, allocations: 12.84 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.5945, allocations: 188.2 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.5946, allocations: 8.375 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.5946, allocations: 8.312 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.5947, allocations: 98.3 kB / 1.025 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.5947, allocations: 3.938 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.5948, allocations: 3.984 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.5948, allocations: 0 / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.284e-05/0.5948, allocations: 43.86 kB / 1.025 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004782/0.5953, allocations: 436.6 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.658e-05/0.5954, allocations: 41.25 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.108e-05/0.5954, allocations: 13.78 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.587e-06/0.5954, allocations: 4 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.5955, allocations: 42.55 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.5955, allocations: 0 / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001459/0.5956, allocations: 53.48 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.5957, allocations: 77.11 kB / 1.025 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.5958, allocations: 163.9 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.5958, allocations: 25.7 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.166e-05/0.5959, allocations: 108.2 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.456e-06/0.5959, allocations: 7.906 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.203e-05/0.5959, allocations: 13.72 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.801e-05/0.596, allocations: 322.8 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.329e-05/0.5961, allocations: 0 / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.118e-05/0.5961, allocations: 25.66 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.93e-05/0.5962, allocations: 29.7 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.5962, allocations: 0 / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.782e-05/0.5962, allocations: 57.55 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.5963, allocations: 11.94 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.5963, allocations: 0 / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.5963, allocations: 0 / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.396e-05/0.5963, allocations: 7.984 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.5964, allocations: 4 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.893e-05/0.5964, allocations: 3.906 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-06/0.5964, allocations: 3.938 kB / 1.026 GB, free: 12.49 MB / 0.7794 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.097e-05/0.5965, allocations: 118.4 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.363e-05/0.5965, allocations: 11.84 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.1e-05/0.5965, allocations: 11.88 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.5966, allocations: 96 / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.5966, allocations: 7.969 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.5966, allocations: 4 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000343/0.5969, allocations: 474.8 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.5969, allocations: 0 / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.71e-05/0.597, allocations: 3.938 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.597, allocations: 4 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.597, allocations: 4 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.597, allocations: 3.938 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.597, allocations: 0 / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.405e-05/0.5971, allocations: 85.89 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.834e-05/0.5971, allocations: 88.95 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.5971, allocations: 0 / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.919e-05/0.5972, allocations: 4 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.133e-05/0.5972, allocations: 3.984 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-06/0.5972, allocations: 0 / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.702e-05/0.5973, allocations: 126.1 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5973, allocations: 0 / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001834/0.5975, allocations: 8 kB / 1.027 GB, free: 11.44 MB / 0.7794 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.0003207/0.5978, allocations: 0.6209 MB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.645e-05/0.5979, allocations: 19.92 kB / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.5979, allocations: 4.156 kB / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.648e-06/0.5979, allocations: 4 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001844/0.5981, allocations: 8 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.5991, allocations: 1.338 MB / 1.029 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.5994, allocations: 0.6926 MB / 1.03 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.886e-05/0.5994, allocations: 4.438 kB / 1.03 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.563e-05/0.5995, allocations: 23.42 kB / 1.03 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of SimCode: time 4.21e-07/0.5995, allocations: 7.938 kB / 1.03 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01024/0.6097, allocations: 1.359 MB / 1.031 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001787/0.6099, allocations: 212.5 kB / 1.031 GB, free: 7.07 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.545/2.155, allocations: 8.062 kB / 1.031 GB, free: 7.062 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches