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.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.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.001653/0.001653, 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.001853/0.001853, allocations: 198 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.365/1.365, allocations: 222.9 MB / 239.8 MB, free: 4.527 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.276/2.276, allocations: 390.2 MB / 0.6643 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 59.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6265/0.6279, allocations: 140.4 MB / 0.9491 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.001859/0.6298, allocations: 0.8778 MB / 0.9499 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.253e-05/0.6299, allocations: 41.28 kB / 0.9499 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.845e-05/0.6299, allocations: 1.375 kB / 0.95 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.046e-05/0.63, allocations: 3.938 kB / 0.95 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.362e-05/0.6301, allocations: 4 kB / 0.95 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.885e-05/0.6301, allocations: 16.11 kB / 0.95 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.82e-05/0.6302, allocations: 63.17 kB / 0.95 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.6303, allocations: 41.69 kB / 0.9501 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.305e-05/0.6304, allocations: 24.12 kB / 0.9501 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.024e-05/0.6304, allocations: 23.97 kB / 0.9501 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.6305, allocations: 8.125 kB / 0.9501 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.07e-05/0.6305, allocations: 8.062 kB / 0.9501 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.799e-05/0.6305, allocations: 14.69 kB / 0.9501 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.244e-05/0.6305, allocations: 30.67 kB / 0.9502 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.286e-05/0.6306, allocations: 68.95 kB / 0.9502 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.6306, allocations: 5.312 kB / 0.9502 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.032e-06/0.6306, allocations: 0 / 0.9502 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.6306, allocations: 0 / 0.9502 GB, free: 8.172 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.0003589/0.631, allocations: 382.5 kB / 0.9506 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.6311, allocations: 13.62 kB / 0.9506 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.739e-05/0.6311, allocations: 37.5 kB / 0.9507 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.759e-05/0.6311, allocations: 8.969 kB / 0.9507 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.6313, allocations: 195.2 kB / 0.9509 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.6313, allocations: 3.125 kB / 0.9509 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.6313, allocations: 9.875 kB / 0.9509 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.6315, allocations: 88.45 kB / 0.951 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.6315, allocations: 8.984 kB / 0.951 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.6315, allocations: 8 kB / 0.951 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.6315, allocations: 2.625 kB / 0.951 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.531e-05/0.6316, allocations: 39.86 kB / 0.951 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004102/0.632, allocations: 437.3 kB / 0.9514 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.376e-05/0.632, allocations: 44.97 kB / 0.9515 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.063e-05/0.6321, allocations: 19.28 kB / 0.9515 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.869e-06/0.6321, allocations: 1.531 kB / 0.9515 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.53e-05/0.6321, allocations: 30.56 kB / 0.9515 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.6321, allocations: 1.344 kB / 0.9515 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001535/0.6323, allocations: 66.03 kB / 0.9516 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.6323, allocations: 78.23 kB / 0.9517 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.6324, allocations: 159.1 kB / 0.9518 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.11e-06/0.6324, allocations: 25.7 kB / 0.9518 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.618e-05/0.6325, allocations: 113.1 kB / 0.9519 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.074e-06/0.6325, allocations: 5.219 kB / 0.9519 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/0.6325, allocations: 17.5 kB / 0.952 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.81e-05/0.6326, allocations: 324.4 kB / 0.9523 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.733e-05/0.6326, allocations: 7.812 kB / 0.9523 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.881e-05/0.6326, allocations: 18.62 kB / 0.9523 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.481e-05/0.6327, allocations: 29.67 kB / 0.9523 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.6327, allocations: 1.219 kB / 0.9523 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.926e-05/0.6328, allocations: 58.52 kB / 0.9524 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.6328, allocations: 14.16 kB / 0.9524 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.6328, allocations: 1.375 kB / 0.9524 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.6328, allocations: 5.031 kB / 0.9524 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.91e-05/0.6329, allocations: 5.844 kB / 0.9524 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.6329, allocations: 3.984 kB / 0.9524 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.653e-05/0.6329, allocations: 2.812 kB / 0.9524 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.6329, allocations: 1.5 kB / 0.9524 GB, free: 5.949 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.038e-05/0.633, allocations: 113.5 kB / 0.9525 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.036e-05/0.633, allocations: 10.84 kB / 0.9525 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.918e-05/0.633, allocations: 15.97 kB / 0.9526 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.633, allocations: 0 / 0.9526 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.633, allocations: 1.469 kB / 0.9526 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.6331, allocations: 3.984 kB / 0.9526 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002621/0.6333, allocations: 470.7 kB / 0.953 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.6333, allocations: 0 / 0.953 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.895e-05/0.6334, allocations: 3.125 kB / 0.953 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.6334, allocations: 5.75 kB / 0.953 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-06/0.6334, allocations: 3.938 kB / 0.953 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.6334, allocations: 1.719 kB / 0.953 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6334, allocations: 0 / 0.953 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.598e-05/0.6334, allocations: 85.95 kB / 0.9531 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.745e-05/0.6335, allocations: 88.45 kB / 0.9532 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.6335, allocations: 1.188 kB / 0.9532 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.988e-05/0.6335, allocations: 5.938 kB / 0.9532 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.668e-06/0.6335, allocations: 3.984 kB / 0.9532 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.6335, allocations: 1.75 kB / 0.9532 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.246e-05/0.6336, allocations: 120.4 kB / 0.9533 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6336, allocations: 0 / 0.9533 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001962/0.6338, allocations: 7.594 kB / 0.9533 GB, free: 5.004 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.0002206/0.634, allocations: 0.6207 MB / 0.9539 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.552e-05/0.6341, allocations: 18.86 kB / 0.9539 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.6341, allocations: 0 / 0.9539 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.068e-05/0.6341, allocations: 8.125 kB / 0.954 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/0.6343, allocations: 8.188 kB / 0.954 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008071/0.6351, allocations: 1.348 MB / 0.9553 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.653e-05/0.6352, allocations: 0.7021 MB / 0.956 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.07e-05/0.6352, allocations: 5.469 kB / 0.956 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.554e-05/0.6353, allocations: 26.86 kB / 0.956 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.6353, allocations: 0 / 0.956 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009691/0.645, allocations: 1.419 MB / 0.9574 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001222/0.6451, allocations: 214.7 kB / 0.9576 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.584/2.229, allocations: 0 / 0.9576 GB, free: 1.387 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