Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_9_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.001185/0.001185, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001221/0.001221, allocations: 192.1 kB / 16.25 MB, free: 6.621 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.434/1.434, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.411/2.411, allocations: 390.2 MB / 0.6644 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001748/0.001748, allocations: 63.91 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7733/0.7751, allocations: 140.4 MB / 0.9492 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.001997/0.7771, allocations: 0.8772 MB / 0.9501 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001043/0.7773, allocations: 49.22 kB / 0.9501 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.373e-05/0.7773, allocations: 1.375 kB / 0.9501 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.082e-05/0.7774, allocations: 3.938 kB / 0.9501 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.054e-05/0.7775, allocations: 0 / 0.9501 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.082e-05/0.7775, allocations: 20.11 kB / 0.9502 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.783e-05/0.7776, allocations: 60.55 kB / 0.9502 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.7778, allocations: 43.08 kB / 0.9503 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.791e-05/0.7778, allocations: 24.17 kB / 0.9503 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.478e-05/0.7779, allocations: 32.97 kB / 0.9503 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.7779, allocations: 6.031 kB / 0.9503 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.218e-05/0.7779, allocations: 9.5 kB / 0.9503 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.927e-05/0.7779, allocations: 14.53 kB / 0.9503 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.227e-05/0.778, allocations: 35.33 kB / 0.9504 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.779e-05/0.7781, allocations: 78.17 kB / 0.9505 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.7781, allocations: 0 / 0.9505 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.305e-06/0.7781, allocations: 0 / 0.9505 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.7781, allocations: 1.438 kB / 0.9505 GB, free: 8.297 MB / 0.7169 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.0003676/0.7785, allocations: 385.8 kB / 0.9508 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.7785, allocations: 9.594 kB / 0.9508 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.93e-05/0.7786, allocations: 36.91 kB / 0.9509 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.775e-05/0.7786, allocations: 9.219 kB / 0.9509 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.7788, allocations: 191 kB / 0.9511 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.7788, allocations: 11.22 kB / 0.9511 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.7788, allocations: 5.781 kB / 0.9511 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.779, allocations: 97.53 kB / 0.9512 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.779, allocations: 3.938 kB / 0.9512 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.779, allocations: 1.344 kB / 0.9512 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.779, allocations: 1.312 kB / 0.9512 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.261e-05/0.7791, allocations: 40.52 kB / 0.9512 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000437/0.7795, allocations: 436.3 kB / 0.9516 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.173e-05/0.7796, allocations: 41.06 kB / 0.9517 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.955e-05/0.7796, allocations: 20.62 kB / 0.9517 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.7796, allocations: 4 kB / 0.9517 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.285e-05/0.7796, allocations: 32.06 kB / 0.9517 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.7796, allocations: 0 / 0.9517 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001569/0.7798, allocations: 59.06 kB / 0.9518 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/0.7798, allocations: 78.58 kB / 0.9519 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.7799, allocations: 162.8 kB / 0.952 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.314e-06/0.78, allocations: 35.08 kB / 0.952 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.018e-05/0.78, allocations: 111.9 kB / 0.9522 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.576e-06/0.78, allocations: 5.156 kB / 0.9522 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.609e-05/0.7801, allocations: 17.06 kB / 0.9522 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.916e-05/0.7801, allocations: 320.4 kB / 0.9525 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.69e-05/0.7801, allocations: 4.875 kB / 0.9525 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.788e-05/0.7802, allocations: 18.81 kB / 0.9525 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.409e-05/0.7802, allocations: 33.34 kB / 0.9525 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.7802, allocations: 0 / 0.9525 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.99e-05/0.7803, allocations: 59 kB / 0.9526 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.7803, allocations: 9 kB / 0.9526 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.7803, allocations: 1.469 kB / 0.9526 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.7803, allocations: 3.938 kB / 0.9526 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.052e-05/0.7804, allocations: 5.438 kB / 0.9526 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.7804, allocations: 1.344 kB / 0.9526 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.686e-05/0.7804, allocations: 10.45 kB / 0.9526 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-06/0.7804, allocations: 1.156 kB / 0.9526 GB, free: 6.078 MB / 0.7169 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 5.547e-05/0.7805, allocations: 113.3 kB / 0.9527 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.007e-05/0.7805, allocations: 11.47 kB / 0.9527 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.184e-05/0.7806, allocations: 11.16 kB / 0.9528 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.7806, allocations: 1.531 kB / 0.9528 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.7806, allocations: 0 / 0.9528 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.7806, allocations: 1.531 kB / 0.9528 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002574/0.7809, allocations: 481.3 kB / 0.9532 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.7809, allocations: 1.094 kB / 0.9532 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.739e-05/0.7809, allocations: 2.562 kB / 0.9532 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.7809, allocations: 1.156 kB / 0.9532 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.7809, allocations: 5.531 kB / 0.9532 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.7809, allocations: 0 / 0.9532 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.7809, allocations: 4.938 kB / 0.9532 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.175e-05/0.781, allocations: 78.72 kB / 0.9533 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.177e-05/0.781, allocations: 95.12 kB / 0.9534 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.781, allocations: 1.594 kB / 0.9534 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.993e-05/0.7811, allocations: 0.875 kB / 0.9534 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.586e-05/0.7811, allocations: 1.469 kB / 0.9534 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.7811, allocations: 5.625 kB / 0.9534 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.749e-05/0.7812, allocations: 123.2 kB / 0.9535 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7812, allocations: 1.406 kB / 0.9535 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001807/0.7814, allocations: 6.906 kB / 0.9535 GB, free: 5.129 MB / 0.7169 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.0002487/0.7816, allocations: 0.6211 MB / 0.9541 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.165e-05/0.7817, allocations: 18.3 kB / 0.9542 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.7817, allocations: 3.938 kB / 0.9542 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.066e-05/0.7817, allocations: 3.875 kB / 0.9542 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/0.7819, allocations: 7.219 kB / 0.9542 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.783, allocations: 1.347 MB / 0.9555 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/0.7831, allocations: 0.6987 MB / 0.9562 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.124e-05/0.7832, allocations: 8.406 kB / 0.9562 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.927e-05/0.7832, allocations: 28.17 kB / 0.9562 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.7833, allocations: 0 / 0.9562 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01165/0.7949, allocations: 1.465 MB / 0.9576 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000184/0.7951, allocations: 210.2 kB / 0.9578 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.793/2.588, allocations: 0 / 0.9578 GB, free: 1.508 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches