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.001095/0.001095, allocations: 108 kB / 15.6 MB, free: 128 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.001032/0.001032, allocations: 196.6 kB / 16.53 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.363/1.363, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.311/2.311, allocations: 390.3 MB / 0.6647 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 79.88 kB / 0.8127 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6135/0.615, allocations: 140.4 MB / 0.9497 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.001906/0.6169, allocations: 0.8178 MB / 0.9505 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.581e-05/0.617, allocations: 45.03 kB / 0.9506 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.5e-05/0.6171, allocations: 5.094 kB / 0.9506 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.412e-05/0.6171, allocations: 9.031 kB / 0.9506 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.714e-05/0.6172, allocations: 7.875 kB / 0.9506 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.195e-05/0.6173, allocations: 20.38 kB / 0.9506 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.815e-05/0.6173, allocations: 54.92 kB / 0.9507 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.6175, allocations: 52.44 kB / 0.9507 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.872e-05/0.6175, allocations: 24 kB / 0.9507 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.036e-05/0.6176, allocations: 36.66 kB / 0.9508 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.6176, allocations: 5.781 kB / 0.9508 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.382e-05/0.6176, allocations: 6.875 kB / 0.9508 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.587e-05/0.6176, allocations: 13.16 kB / 0.9508 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.043e-05/0.6177, allocations: 34.89 kB / 0.9508 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.625e-05/0.6178, allocations: 75.11 kB / 0.9509 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.6178, allocations: 0 / 0.9509 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6178, allocations: 0 / 0.9509 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.6178, allocations: 1.406 kB / 0.9509 GB, free: 8.289 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.0003264/0.6181, allocations: 382.5 kB / 0.9513 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.6182, allocations: 8.969 kB / 0.9513 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.939e-05/0.6182, allocations: 37.25 kB / 0.9513 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.538e-05/0.6182, allocations: 13.28 kB / 0.9513 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.6184, allocations: 198.1 kB / 0.9515 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.6184, allocations: 4.188 kB / 0.9515 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.6184, allocations: 9.5 kB / 0.9515 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.6186, allocations: 86.27 kB / 0.9516 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.6186, allocations: 3.938 kB / 0.9516 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.6186, allocations: 5.469 kB / 0.9516 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.6186, allocations: 2.688 kB / 0.9516 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.438e-05/0.6187, allocations: 39.55 kB / 0.9517 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004037/0.6191, allocations: 439.9 kB / 0.9521 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.884e-05/0.6192, allocations: 41.94 kB / 0.9521 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.871e-05/0.6192, allocations: 19.38 kB / 0.9521 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.376e-06/0.6192, allocations: 1.406 kB / 0.9521 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.555e-05/0.6192, allocations: 34.56 kB / 0.9522 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.6192, allocations: 1.312 kB / 0.9522 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001465/0.6194, allocations: 57.66 kB / 0.9522 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/0.6194, allocations: 79.05 kB / 0.9523 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.6195, allocations: 163.1 kB / 0.9525 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.893e-06/0.6195, allocations: 31.2 kB / 0.9525 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.137e-05/0.6196, allocations: 111.9 kB / 0.9526 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.514e-06/0.6196, allocations: 5.219 kB / 0.9526 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.631e-05/0.6196, allocations: 20.03 kB / 0.9526 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.348e-05/0.6197, allocations: 325.3 kB / 0.9529 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.456e-05/0.6197, allocations: 3.469 kB / 0.9529 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.669e-05/0.6197, allocations: 18.47 kB / 0.953 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.094e-05/0.6198, allocations: 27.06 kB / 0.953 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.6198, allocations: 3.938 kB / 0.953 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.03e-05/0.6198, allocations: 63.19 kB / 0.953 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.6199, allocations: 11.22 kB / 0.9531 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.6199, allocations: 0 / 0.9531 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.6199, allocations: 1.375 kB / 0.9531 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.959e-05/0.6199, allocations: 6.312 kB / 0.9531 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.62, allocations: 4.062 kB / 0.9531 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.998e-05/0.62, allocations: 6.703 kB / 0.9531 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.62, allocations: 1.281 kB / 0.9531 GB, free: 6.07 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.597e-05/0.6201, allocations: 113.4 kB / 0.9532 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.054e-05/0.6201, allocations: 11.47 kB / 0.9532 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.155e-05/0.6201, allocations: 10.44 kB / 0.9532 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.6201, allocations: 5.219 kB / 0.9532 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.6201, allocations: 1.125 kB / 0.9532 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.6202, allocations: 0 / 0.9532 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000246/0.6204, allocations: 475.3 kB / 0.9537 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.6204, allocations: 3.938 kB / 0.9537 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.779e-05/0.6204, allocations: 6.781 kB / 0.9537 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.6204, allocations: 1.469 kB / 0.9537 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.159e-06/0.6205, allocations: 0 / 0.9537 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.6205, allocations: 1.438 kB / 0.9537 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.6205, allocations: 0 / 0.9537 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.596e-05/0.6205, allocations: 86.98 kB / 0.9538 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.847e-05/0.6206, allocations: 91.69 kB / 0.9538 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.6206, allocations: 1.438 kB / 0.9538 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.916e-05/0.6206, allocations: 1.438 kB / 0.9538 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.259e-05/0.6206, allocations: 5.344 kB / 0.9539 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-06/0.6206, allocations: 3.938 kB / 0.9539 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.101e-05/0.6207, allocations: 124.7 kB / 0.954 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6207, allocations: 3.938 kB / 0.954 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001812/0.6209, allocations: 7.188 kB / 0.954 GB, free: 5.113 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.0002432/0.6211, allocations: 0.6165 MB / 0.9546 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.153e-05/0.6212, allocations: 22.39 kB / 0.9546 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6212, allocations: 0 / 0.9546 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.076e-05/0.6212, allocations: 5.656 kB / 0.9546 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/0.6214, allocations: 6.453 kB / 0.9546 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009239/0.6223, allocations: 1.322 MB / 0.9559 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.6225, allocations: 0.7019 MB / 0.9566 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.13e-05/0.6225, allocations: 9.125 kB / 0.9566 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.271e-05/0.6225, allocations: 26.73 kB / 0.9566 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.6226, allocations: 1.375 kB / 0.9566 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05523/0.6778, allocations: 1.532 MB / 0.9581 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.114/7.792, allocations: 13.91 kB / 0.9581 GB, free: 1.656 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