Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.To_BtuPerHour,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",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.001376/0.001376, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001556/0.001556, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.335/1.335, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.183/2.183, allocations: 390.2 MB / 0.6643 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 67.89 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5228/0.524, allocations: 140.4 MB / 0.9491 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001523/0.5255, allocations: 0.8813 MB / 0.9499 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 6.666e-05/0.5256, allocations: 41 kB / 0.95 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.571e-05/0.5256, allocations: 5.281 kB / 0.95 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.843e-05/0.5257, allocations: 4.969 kB / 0.95 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.14e-05/0.5257, allocations: 4 kB / 0.95 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.85e-05/0.5257, allocations: 15.64 kB / 0.95 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.178e-05/0.5258, allocations: 58.86 kB / 0.95 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.89e-05/0.5259, allocations: 47.47 kB / 0.9501 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.456e-05/0.526, allocations: 19.22 kB / 0.9501 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.963e-05/0.526, allocations: 29.19 kB / 0.9501 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.526, allocations: 3.125 kB / 0.9501 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.624e-06/0.526, allocations: 4.344 kB / 0.9501 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.249e-05/0.526, allocations: 10.5 kB / 0.9502 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.432e-05/0.5261, allocations: 38.61 kB / 0.9502 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.709e-05/0.5261, allocations: 69.89 kB / 0.9503 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.5261, allocations: 0 / 0.9503 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.01e-07/0.5261, allocations: 3.938 kB / 0.9503 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.655e-06/0.5261, allocations: 1.406 kB / 0.9503 GB, free: 8.305 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.0002219/0.5264, allocations: 386.2 kB / 0.9506 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.759e-05/0.5264, allocations: 9.188 kB / 0.9506 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.149e-05/0.5264, allocations: 38.19 kB / 0.9507 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.786e-05/0.5264, allocations: 9.531 kB / 0.9507 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.5266, allocations: 190 kB / 0.9509 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.924e-06/0.5266, allocations: 10.56 kB / 0.9509 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.5266, allocations: 9.562 kB / 0.9509 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.5267, allocations: 93.23 kB / 0.951 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.53e-06/0.5267, allocations: 5.25 kB / 0.951 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-06/0.5267, allocations: 4 kB / 0.951 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.5267, allocations: 2.375 kB / 0.951 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.852e-05/0.5268, allocations: 45.05 kB / 0.951 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003173/0.5271, allocations: 439.1 kB / 0.9514 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.944e-05/0.5271, allocations: 37.53 kB / 0.9515 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.33e-05/0.5272, allocations: 20.59 kB / 0.9515 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.239e-06/0.5272, allocations: 0 / 0.9515 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.101e-05/0.5272, allocations: 35.91 kB / 0.9515 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.5272, allocations: 0 / 0.9515 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001123/0.5273, allocations: 63.48 kB / 0.9516 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.565e-05/0.5273, allocations: 81.11 kB / 0.9517 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.171e-05/0.5274, allocations: 160.3 kB / 0.9518 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.578e-06/0.5274, allocations: 25.7 kB / 0.9519 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.099e-05/0.5275, allocations: 111.9 kB / 0.952 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.38e-06/0.5275, allocations: 5.406 kB / 0.952 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.403e-05/0.5275, allocations: 22.66 kB / 0.952 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 2.968e-05/0.5276, allocations: 316.3 kB / 0.9523 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.353e-05/0.5276, allocations: 7.531 kB / 0.9523 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.463e-05/0.5276, allocations: 18.25 kB / 0.9523 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.852e-05/0.5276, allocations: 29.67 kB / 0.9523 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5276, allocations: 5.562 kB / 0.9523 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.241e-05/0.5277, allocations: 54.33 kB / 0.9524 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.689e-06/0.5277, allocations: 9 kB / 0.9524 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.5277, allocations: 1 kB / 0.9524 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.173e-06/0.5277, allocations: 0 / 0.9524 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.654e-05/0.5278, allocations: 14.02 kB / 0.9524 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.347e-06/0.5278, allocations: 1.438 kB / 0.9524 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.462e-05/0.5278, allocations: 1.344 kB / 0.9524 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-06/0.5278, allocations: 1.5 kB / 0.9524 GB, free: 6.086 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 3.727e-05/0.5279, allocations: 122.2 kB / 0.9525 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.841e-05/0.5279, allocations: 11.12 kB / 0.9525 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.425e-05/0.5279, allocations: 6.531 kB / 0.9526 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.5279, allocations: 1.344 kB / 0.9526 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.5279, allocations: 1.312 kB / 0.9526 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.5279, allocations: 3.984 kB / 0.9526 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002188/0.5282, allocations: 473.9 kB / 0.953 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.5282, allocations: 5.406 kB / 0.953 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.642e-05/0.5282, allocations: 6.688 kB / 0.953 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.5282, allocations: 1.375 kB / 0.953 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-06/0.5282, allocations: 0 / 0.953 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5282, allocations: 1.375 kB / 0.953 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.5282, allocations: 3.938 kB / 0.953 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.859e-05/0.5283, allocations: 87.58 kB / 0.9531 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.405e-05/0.5283, allocations: 87.7 kB / 0.9532 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.5283, allocations: 5.375 kB / 0.9532 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.903e-05/0.5283, allocations: 0 / 0.9532 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.093e-06/0.5283, allocations: 5.359 kB / 0.9532 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/0.5284, allocations: 1.375 kB / 0.9532 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.704e-05/0.5284, allocations: 117.2 kB / 0.9533 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5284, allocations: 0 / 0.9533 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000171/0.5286, allocations: 11.78 kB / 0.9533 GB, free: 5.133 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.0001736/0.5288, allocations: 0.6176 MB / 0.9539 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.076e-05/0.5288, allocations: 18.11 kB / 0.954 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5288, allocations: 0 / 0.954 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.004e-05/0.5289, allocations: 17.03 kB / 0.954 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.0001247/0.529, allocations: 6.625 kB / 0.954 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006826/0.5297, allocations: 1.347 MB / 0.9553 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.292e-05/0.5298, allocations: 0.6957 MB / 0.956 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.357e-05/0.5298, allocations: 4.281 kB / 0.956 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.843e-05/0.5298, allocations: 26.05 kB / 0.956 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.5298, allocations: 0 / 0.956 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.487/2.017, allocations: 1.425 MB / 0.9574 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001487/2.017, allocations: 216 kB / 0.9576 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.519/3.537, allocations: 0 / 0.9576 GB, free: 1.535 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches