Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.From_Btu,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_11_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.004854/0.004854, allocations: 101.1 kB / 15.73 MB, free: 6.059 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.001385/0.001385, allocations: 189.5 kB / 16.67 MB, free: 5.973 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.285/1.285, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.501/2.501, allocations: 469.8 MB / 0.7425 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 71.83 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6502/0.652, allocations: 159.1 MB / 1.22 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.001947/0.654, allocations: 0.8273 MB / 1.221 GB, free: 1.254 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001114/0.6541, allocations: 43.78 kB / 1.221 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.015e-05/0.6542, allocations: 0 / 1.221 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.611e-05/0.6542, allocations: 7.875 kB / 1.221 GB, free: 1.203 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.762e-05/0.6543, allocations: 11.88 kB / 1.221 GB, free: 1.191 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.33e-05/0.6543, allocations: 19.98 kB / 1.221 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.6545, allocations: 59.83 kB / 1.221 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.6546, allocations: 51.84 kB / 1.221 GB, free: 1.062 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.051e-05/0.6547, allocations: 31.8 kB / 1.221 GB, free: 1.031 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.017e-05/0.6547, allocations: 23.86 kB / 1.221 GB, free: 1.008 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.6547, allocations: 8 kB / 1.221 GB, free: 1 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.327e-06/0.6548, allocations: 4 kB / 1.221 GB, free: 0.9961 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.058e-05/0.6548, allocations: 19.92 kB / 1.221 GB, free: 0.9766 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.862e-05/0.6548, allocations: 31.81 kB / 1.221 GB, free: 0.9453 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.6549, allocations: 67.36 kB / 1.221 GB, free: 0.8828 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.655, allocations: 3.984 kB / 1.221 GB, free: 0.8789 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.472e-06/0.655, allocations: 4 kB / 1.221 GB, free: 0.875 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.091e-05/0.655, allocations: 0 / 1.221 GB, free: 0.875 MB / 0.9356 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.0004305/0.6554, allocations: 383 kB / 1.222 GB, free: 460 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.6555, allocations: 12.03 kB / 1.222 GB, free: 448 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.418e-05/0.6555, allocations: 42.73 kB / 1.222 GB, free: 396 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.6e-05/0.6555, allocations: 12.84 kB / 1.222 GB, free: 384 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001962/0.6557, allocations: 192.2 kB / 1.222 GB, free: 152 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.6558, allocations: 4.375 kB / 1.222 GB, free: 148 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.6558, allocations: 12.38 kB / 1.222 GB, free: 136 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.6559, allocations: 97.83 kB / 1.222 GB, free: 28 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.656, allocations: 11.92 kB / 1.222 GB, free: 16 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.656, allocations: 0 / 1.222 GB, free: 16 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.016e-06/0.656, allocations: 0 / 1.222 GB, free: 16 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.116e-05/0.6561, allocations: 43.86 kB / 1.222 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005105/0.6566, allocations: 436.7 kB / 1.223 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.042e-05/0.6567, allocations: 41.16 kB / 1.223 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.531e-05/0.6567, allocations: 21.88 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.282e-06/0.6567, allocations: 0 / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.6568, allocations: 42.55 kB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.6568, allocations: 0 / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001543/0.6569, allocations: 57.53 kB / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/0.657, allocations: 77.11 kB / 1.223 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.6571, allocations: 161.1 kB / 1.223 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.6571, allocations: 25.7 kB / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.334e-05/0.6572, allocations: 100.1 kB / 1.223 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.416e-06/0.6572, allocations: 4.203 kB / 1.223 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/0.6573, allocations: 25.67 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.6574, allocations: 322.8 kB / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.395e-05/0.6574, allocations: 0 / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.687e-05/0.6575, allocations: 25.7 kB / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.315e-05/0.6575, allocations: 29.66 kB / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.6575, allocations: 4 kB / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.911e-05/0.6576, allocations: 57.69 kB / 1.223 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.6576, allocations: 11.94 kB / 1.224 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.6576, allocations: 7.922 kB / 1.224 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.6576, allocations: 3.984 kB / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.237e-05/0.6577, allocations: 4 kB / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.6577, allocations: 4 kB / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.232e-05/0.6577, allocations: 3.938 kB / 1.224 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.962e-06/0.6578, allocations: 4 kB / 1.224 GB, free: 14.37 MB / 0.9512 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.192e-05/0.6578, allocations: 117 kB / 1.224 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.086e-05/0.6579, allocations: 11.89 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.698e-05/0.6579, allocations: 15.86 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.6579, allocations: 0 / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.6579, allocations: 4 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.6579, allocations: 0 / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003918/0.6583, allocations: 474.8 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.6583, allocations: 0 / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.074e-05/0.6584, allocations: 8 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.6584, allocations: 0 / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-06/0.6584, allocations: 0 / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.6584, allocations: 0 / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.6584, allocations: 0 / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.008e-05/0.6585, allocations: 89.84 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.172e-05/0.6585, allocations: 85 kB / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.6586, allocations: 7.984 kB / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.042e-05/0.6586, allocations: 4 kB / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.846e-06/0.6586, allocations: 0 / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.6586, allocations: 0 / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.195e-05/0.6587, allocations: 121.9 kB / 1.224 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6587, allocations: 0 / 1.224 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001773/0.6589, allocations: 8 kB / 1.224 GB, free: 13.33 MB / 0.9512 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.0003891/0.6593, allocations: 0.6215 MB / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 7.471e-05/0.6594, allocations: 12 kB / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.6594, allocations: 0 / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.164e-05/0.6594, allocations: 16.09 kB / 1.225 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.6595, allocations: 4 kB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.6607, allocations: 1.331 MB / 1.226 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.661, allocations: 0.6967 MB / 1.227 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.79e-05/0.6611, allocations: 12.38 kB / 1.227 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.554e-05/0.6611, allocations: 27.42 kB / 1.227 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of SimCode: time 2.2e-07/0.6611, allocations: 0 / 1.227 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.474/3.135, allocations: 1.576 MB / 1.229 GB, free: 8.973 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/13.87, allocations: 8.516 kB / 1.229 GB, free: 8.965 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches