Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.To_cfm,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_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.001038/0.001038, 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.001014/0.001014, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.242/1.242, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.368/2.368, allocations: 437 MB / 0.7099 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 63.91 kB / 0.8687 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5105/0.5117, allocations: 151.6 MB / 1.017 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.001808/0.5136, allocations: 0.8859 MB / 1.018 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 8.855e-05/0.5137, allocations: 35.8 kB / 1.018 GB, free: 1.895 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.245e-05/0.5137, allocations: 4 kB / 1.018 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.727e-05/0.5138, allocations: 11.86 kB / 1.018 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.453e-05/0.5138, allocations: 3.938 kB / 1.018 GB, free: 1.875 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.943e-05/0.5139, allocations: 16 kB / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.996e-05/0.514, allocations: 71.73 kB / 1.018 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.5141, allocations: 31.97 kB / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.835e-05/0.5141, allocations: 23.86 kB / 1.018 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.276e-05/0.5142, allocations: 35.8 kB / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.5142, allocations: 4 kB / 1.018 GB, free: 1.695 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.857e-06/0.5142, allocations: 7.938 kB / 1.018 GB, free: 1.688 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.563e-05/0.5143, allocations: 7.984 kB / 1.018 GB, free: 1.68 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.478e-05/0.5143, allocations: 35.73 kB / 1.018 GB, free: 1.645 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.156e-05/0.5144, allocations: 70.02 kB / 1.018 GB, free: 1.578 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.5144, allocations: 0 / 1.018 GB, free: 1.578 MB / 0.7637 GB Notification: Performance of FrontEnd: time 6.61e-07/0.5144, allocations: 0 / 1.018 GB, free: 1.578 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.936e-06/0.5144, allocations: 0 / 1.018 GB, free: 1.578 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.0003548/0.5148, allocations: 379.3 kB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.5148, allocations: 12.02 kB / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.648e-05/0.5148, allocations: 38.75 kB / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.452e-05/0.5149, allocations: 12.84 kB / 1.018 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.515, allocations: 200.1 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.757e-06/0.5151, allocations: 4.375 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.5151, allocations: 8.375 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.5152, allocations: 94.2 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.5152, allocations: 7.938 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.5152, allocations: 4 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.5153, allocations: 4 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.659e-05/0.5153, allocations: 35.92 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004426/0.5158, allocations: 436.5 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.613e-05/0.5158, allocations: 45.33 kB / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.403e-05/0.5159, allocations: 17.78 kB / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 7.924e-06/0.5159, allocations: 4 kB / 1.019 GB, free: 120 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.5159, allocations: 34.55 kB / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.5159, allocations: 4 kB / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0001401/0.5161, allocations: 53.48 kB / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.5161, allocations: 81.09 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.5162, allocations: 160.3 kB / 1.019 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.5162, allocations: 29.69 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.254e-05/0.5163, allocations: 104 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.578e-06/0.5163, allocations: 15.83 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.74e-05/0.5164, allocations: 17.91 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.185e-05/0.5164, allocations: 318.8 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.96e-05/0.5165, allocations: 11.98 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.843e-05/0.5165, allocations: 13.72 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.892e-05/0.5165, allocations: 29.72 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.5165, allocations: 0 / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.489e-05/0.5166, allocations: 61.53 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.5166, allocations: 7.938 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.5166, allocations: 4 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.5167, allocations: 0 / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.033e-05/0.5167, allocations: 4 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.5167, allocations: 0 / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.368e-05/0.5168, allocations: 11.91 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.5168, allocations: 7.922 kB / 1.02 GB, free: 15.08 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 8.572e-05/0.5169, allocations: 114.4 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.556e-05/0.5169, allocations: 19.89 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.461e-05/0.517, allocations: 11.81 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.517, allocations: 0 / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.517, allocations: 0 / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.517, allocations: 0 / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003781/0.5174, allocations: 470.8 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.5174, allocations: 4 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.611e-05/0.5174, allocations: 4.062 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.5174, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-06/0.5174, allocations: 7.984 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.5174, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.5174, allocations: 4 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.025e-05/0.5175, allocations: 73.84 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.99e-05/0.5176, allocations: 96.94 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.5176, allocations: 4.031 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.004e-05/0.5176, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.75e-05/0.5177, allocations: 7.938 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.5177, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.758e-05/0.5178, allocations: 120.9 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5178, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001795/0.518, allocations: 8 kB / 1.021 GB, free: 14.04 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.0003675/0.5183, allocations: 0.6132 MB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.093e-05/0.5184, allocations: 19.94 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5184, allocations: 0 / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.405e-05/0.5184, allocations: 11.98 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001656/0.5186, allocations: 12.22 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.5198, allocations: 1.344 MB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.52, allocations: 0.6926 MB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.263e-05/0.52, allocations: 8.422 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.763e-05/0.5201, allocations: 27.42 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of SimCode: time 5.31e-07/0.5201, allocations: 0 / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0105/0.5306, allocations: 1.415 MB / 1.025 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002244/0.5308, allocations: 212.8 kB / 1.025 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.524/2.055, allocations: 0 / 1.025 GB, free: 9.578 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches