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.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.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.001258/0.001258, 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.001375/0.001375, allocations: 197 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.302/1.303, 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 10.1.0-maint.10.0.x/package.mo): time 2.411/2.411, allocations: 437 MB / 0.7099 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 59.91 kB / 0.8687 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5034/0.5048, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.001778/0.5066, allocations: 0.886 MB / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 8.333e-05/0.5067, allocations: 35.8 kB / 1.018 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.324e-05/0.5068, allocations: 4 kB / 1.018 GB, free: 1.828 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.582e-05/0.5068, allocations: 11.86 kB / 1.018 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.889e-05/0.5069, allocations: 0 / 1.018 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.945e-05/0.5069, allocations: 19.98 kB / 1.018 GB, free: 1.797 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.971e-05/0.507, allocations: 59.7 kB / 1.018 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.5071, allocations: 43.95 kB / 1.018 GB, free: 1.695 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.706e-05/0.5072, allocations: 19.88 kB / 1.018 GB, free: 1.676 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.624e-05/0.5072, allocations: 27.84 kB / 1.018 GB, free: 1.648 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.5072, allocations: 4 kB / 1.018 GB, free: 1.645 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.578e-06/0.5073, allocations: 11.94 kB / 1.018 GB, free: 1.633 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/0.5073, allocations: 11.98 kB / 1.018 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.467e-05/0.5073, allocations: 39.67 kB / 1.018 GB, free: 1.582 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.993e-05/0.5074, allocations: 62.03 kB / 1.018 GB, free: 1.523 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.5074, allocations: 4 kB / 1.018 GB, free: 1.52 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5074, allocations: 0 / 1.018 GB, free: 1.52 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.5074, allocations: 0 / 1.018 GB, free: 1.52 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.0003376/0.5078, allocations: 381.2 kB / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.5078, allocations: 8.031 kB / 1.018 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.661e-05/0.5078, allocations: 42.75 kB / 1.018 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.246e-05/0.5079, allocations: 8.844 kB / 1.018 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.508, allocations: 196.1 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.5081, allocations: 8.375 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.729e-06/0.5081, allocations: 4.375 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.5082, allocations: 100.9 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.5082, allocations: 3.938 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.5082, allocations: 0 / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-06/0.5082, allocations: 8 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.823e-05/0.5083, allocations: 39.92 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.5088, allocations: 432.6 kB / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 5.452e-05/0.5088, allocations: 45.25 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.104e-05/0.5089, allocations: 17.78 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 7.995e-06/0.5089, allocations: 0 / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.5089, allocations: 34.56 kB / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.5089, allocations: 0 / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0001525/0.5091, allocations: 57.78 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.5091, allocations: 81.11 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.5092, allocations: 164 kB / 1.019 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.5092, allocations: 25.7 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.997e-05/0.5093, allocations: 104 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.827e-06/0.5093, allocations: 11.91 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/0.5093, allocations: 17.66 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.262e-05/0.5094, allocations: 318.8 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.75e-05/0.5095, allocations: 8 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.209e-05/0.5095, allocations: 21.7 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.646e-05/0.5095, allocations: 29.66 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.5095, allocations: 0 / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.485e-05/0.5096, allocations: 61.53 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.5096, allocations: 7.938 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.5096, allocations: 64 / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.5096, allocations: 8 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.15e-05/0.5097, allocations: 4 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.5097, allocations: 0 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.883e-05/0.5097, allocations: 7.906 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-06/0.5098, allocations: 3.938 kB / 1.02 GB, free: 15.03 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.604e-05/0.5098, allocations: 118.4 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.22e-05/0.5099, allocations: 11.84 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.961e-05/0.5099, allocations: 11.88 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.5099, allocations: 4 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.5099, allocations: 4 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.5099, allocations: 0 / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003355/0.5103, allocations: 470.8 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.5103, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.192e-05/0.5103, allocations: 7.984 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.5103, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.5103, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.614e-06/0.5103, allocations: 8.062 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5103, allocations: 3.938 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.522e-05/0.5104, allocations: 73.84 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.883e-05/0.5105, allocations: 96.94 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.5105, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.022e-05/0.5105, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.365e-05/0.5105, allocations: 8.031 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-06/0.5105, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.722e-05/0.5106, allocations: 120.9 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5106, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001845/0.5108, allocations: 8 kB / 1.021 GB, free: 13.99 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.0003246/0.5111, allocations: 0.617 MB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.023e-05/0.5112, allocations: 19.98 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.5112, allocations: 0 / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.065e-05/0.5112, allocations: 7.938 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001454/0.5114, allocations: 14.12 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.5125, allocations: 1.35 MB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.5127, allocations: 0.6965 MB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.351e-05/0.5127, allocations: 4.438 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.188e-05/0.5128, allocations: 27.42 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.5128, allocations: 0 / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009784/0.5226, allocations: 1.422 MB / 1.025 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001608/0.5227, allocations: 214.2 kB / 1.025 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.472/1.995, allocations: 4 kB / 1.025 GB, free: 9.516 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 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.mat","/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