Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_cfm,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",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.001436/0.001436, allocations: 108 kB / 15.6 MB, free: 132 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.001681/0.001681, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.327/1.327, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.419/2.419, allocations: 437.1 MB / 0.7104 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 71.88 kB / 0.8694 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.526/0.5272, allocations: 151.6 MB / 1.017 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.002083/0.5293, allocations: 0.8211 MB / 1.018 GB, free: 1.645 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001009/0.5295, allocations: 39.8 kB / 1.018 GB, free: 1.605 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.477e-05/0.5295, allocations: 4 kB / 1.018 GB, free: 1.602 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.309e-05/0.5296, allocations: 11.86 kB / 1.018 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.478e-05/0.5296, allocations: 7.922 kB / 1.018 GB, free: 1.582 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.484e-05/0.5297, allocations: 19.98 kB / 1.018 GB, free: 1.562 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.39e-05/0.5298, allocations: 63.78 kB / 1.018 GB, free: 1.5 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.5299, allocations: 39.97 kB / 1.018 GB, free: 1.461 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.57e-05/0.53, allocations: 27.86 kB / 1.018 GB, free: 1.434 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.717e-05/0.53, allocations: 23.86 kB / 1.018 GB, free: 1.41 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.53, allocations: 8 kB / 1.018 GB, free: 1.402 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.137e-06/0.5301, allocations: 4 kB / 1.018 GB, free: 1.398 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.876e-05/0.5301, allocations: 19.92 kB / 1.018 GB, free: 1.379 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.645e-05/0.5301, allocations: 39.73 kB / 1.019 GB, free: 1.34 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.884e-05/0.5302, allocations: 69.95 kB / 1.019 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.5302, allocations: 0 / 1.019 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.52e-07/0.5302, allocations: 0 / 1.019 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.5302, allocations: 4 kB / 1.019 GB, free: 1.27 MB / 0.7637 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.000355/0.5306, allocations: 387.1 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.5306, allocations: 8.031 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.189e-05/0.5307, allocations: 42.73 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.627e-05/0.5307, allocations: 8.844 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.5309, allocations: 192.2 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.285e-06/0.5309, allocations: 8.375 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.5309, allocations: 4.375 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.5311, allocations: 102.1 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.5311, allocations: 3.938 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.5311, allocations: 0 / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.5311, allocations: 4 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.858e-05/0.5312, allocations: 39.92 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004688/0.5317, allocations: 432.7 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.308e-05/0.5317, allocations: 49.11 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.932e-05/0.5317, allocations: 17.84 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.857e-06/0.5318, allocations: 4 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.5318, allocations: 34.56 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.5318, allocations: 0 / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001424/0.5319, allocations: 53.48 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.532, allocations: 85.09 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.5321, allocations: 158.2 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.5321, allocations: 29.7 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.331e-05/0.5322, allocations: 104.2 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.873e-06/0.5322, allocations: 7.906 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/0.5322, allocations: 21.7 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.794e-05/0.5323, allocations: 318.8 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.663e-05/0.5323, allocations: 11.98 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.318e-05/0.5324, allocations: 21.72 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.637e-05/0.5324, allocations: 33.66 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.5324, allocations: 0 / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.95e-05/0.5325, allocations: 57.53 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.5325, allocations: 7.938 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.5325, allocations: 4 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.5325, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.126e-05/0.5326, allocations: 4 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.5326, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.917e-05/0.5326, allocations: 7.906 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-06/0.5327, allocations: 0 / 1.021 GB, free: 14.78 MB / 0.7794 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 6.03e-05/0.5327, allocations: 117.9 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.188e-05/0.5328, allocations: 11.84 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.402e-05/0.5328, allocations: 19.8 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.5328, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.5328, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.5328, allocations: 8.078 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003195/0.5331, allocations: 470.8 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.5332, allocations: 4 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.705e-05/0.5332, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.5332, allocations: 4 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-06/0.5332, allocations: 3.938 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.5332, allocations: 3.984 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5332, allocations: 3.938 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.914e-05/0.5333, allocations: 77.91 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.647e-05/0.5333, allocations: 96.94 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.5333, allocations: 0 / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.069e-05/0.5334, allocations: 4 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.126e-05/0.5334, allocations: 0 / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.5334, allocations: 0 / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.425e-05/0.5335, allocations: 122.3 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.5335, allocations: 0 / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001809/0.5337, allocations: 8 kB / 1.022 GB, free: 13.73 MB / 0.7794 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.000297/0.534, allocations: 0.621 MB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.187e-05/0.534, allocations: 15.94 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5341, allocations: 4.156 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.042e-05/0.5341, allocations: 7.984 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/0.5342, allocations: 8 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000999/0.5352, allocations: 1.326 MB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002154/0.5354, allocations: 0.6924 MB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.021e-05/0.5355, allocations: 8.422 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.222e-05/0.5355, allocations: 27.42 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of SimCode: time 2.81e-07/0.5355, allocations: 4 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01542/0.551, allocations: 1.538 MB / 1.026 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.643/7.194, allocations: 7.703 kB / 1.026 GB, free: 9.395 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches