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.001175/0.001175, allocations: 107.3 kB / 15.33 MB, free: 0.5039 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.001134/0.001134, allocations: 197.9 kB / 16.26 MB, free: 6.633 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.217/1.217, allocations: 222.9 MB / 239.9 MB, free: 4.551 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.31/2.31, allocations: 437 MB / 0.7101 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 67.89 kB / 0.8689 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.51/0.5112, allocations: 151.6 MB / 1.017 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.001844/0.5131, allocations: 0.888 MB / 1.018 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 9.337e-05/0.5132, allocations: 35.8 kB / 1.018 GB, free: 1.797 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.067e-05/0.5132, allocations: 4 kB / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.437e-05/0.5133, allocations: 7.922 kB / 1.018 GB, free: 1.785 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.451e-05/0.5133, allocations: 3.938 kB / 1.018 GB, free: 1.781 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.894e-05/0.5134, allocations: 19.98 kB / 1.018 GB, free: 1.762 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.318e-05/0.5135, allocations: 55.86 kB / 1.018 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.5136, allocations: 51.94 kB / 1.018 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.982e-05/0.5137, allocations: 23.81 kB / 1.018 GB, free: 1.633 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.716e-05/0.5137, allocations: 31.84 kB / 1.018 GB, free: 1.602 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.5137, allocations: 4 kB / 1.018 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.787e-06/0.5137, allocations: 8 kB / 1.018 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.622e-05/0.5138, allocations: 15.94 kB / 1.018 GB, free: 1.574 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.704e-05/0.5138, allocations: 35.78 kB / 1.018 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.367e-05/0.5139, allocations: 69.97 kB / 1.018 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.5139, allocations: 4 kB / 1.018 GB, free: 1.469 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5139, allocations: 0 / 1.018 GB, free: 1.469 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.315e-06/0.5139, allocations: 3.938 kB / 1.018 GB, free: 1.465 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.0003401/0.5143, allocations: 383.1 kB / 1.019 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.5143, allocations: 8.031 kB / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.733e-05/0.5143, allocations: 38.75 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.353e-05/0.5144, allocations: 12.84 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.5145, allocations: 196.1 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.5146, allocations: 8.375 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.5146, allocations: 4.375 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.5147, allocations: 101.8 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.5147, allocations: 3.938 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.5148, allocations: 0 / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.5148, allocations: 4 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.552e-05/0.5148, allocations: 39.92 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/0.5153, allocations: 436.6 kB / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.226e-05/0.5153, allocations: 37.22 kB / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.893e-05/0.5154, allocations: 21.78 kB / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 6.091e-06/0.5154, allocations: 0 / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.5154, allocations: 38.59 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.5154, allocations: 0 / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001453/0.5156, allocations: 57.47 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.5156, allocations: 81.36 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.5157, allocations: 166.2 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.5158, allocations: 25.7 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.875e-05/0.5158, allocations: 104 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.828e-06/0.5158, allocations: 11.91 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.628e-05/0.5159, allocations: 9.719 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.748e-05/0.516, allocations: 322.8 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.645e-05/0.516, allocations: 8 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.722e-05/0.516, allocations: 17.72 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.625e-05/0.516, allocations: 29.66 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.516, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.111e-05/0.5161, allocations: 57.59 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.5161, allocations: 7.938 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.5162, allocations: 0 / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.656e-06/0.5162, allocations: 4.062 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.196e-05/0.5162, allocations: 11.94 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.5162, allocations: 3.984 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.834e-05/0.5163, allocations: 11.91 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.5163, allocations: 3.984 kB / 1.02 GB, free: 14.97 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.538e-05/0.5163, allocations: 110.4 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.006e-05/0.5164, allocations: 19.78 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.846e-05/0.5164, allocations: 7.875 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.5164, allocations: 0 / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.5164, allocations: 8 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.5164, allocations: 0 / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003209/0.5168, allocations: 470.8 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.5168, allocations: 3.984 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.789e-05/0.5168, allocations: 7.938 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.5168, allocations: 0 / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.089e-06/0.5168, allocations: 0 / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.5168, allocations: 4.062 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5168, allocations: 4 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.562e-05/0.5169, allocations: 77.78 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.37e-05/0.5169, allocations: 96.94 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.517, allocations: 96 / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.329e-05/0.517, allocations: 0 / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.32e-05/0.517, allocations: 8.016 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.517, allocations: 4 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.583e-05/0.5171, allocations: 122.5 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5171, allocations: 0 / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004764/0.5176, allocations: 4 kB / 1.021 GB, free: 13.93 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.000326/0.5179, allocations: 0.6209 MB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.671e-05/0.518, allocations: 19.98 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.518, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.235e-05/0.518, allocations: 11.94 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.5182, allocations: 4 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009541/0.5191, allocations: 1.342 MB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001971/0.5193, allocations: 0.6963 MB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.67e-05/0.5194, allocations: 4.438 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.917e-05/0.5194, allocations: 27.42 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.5194, allocations: 0 / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02713/0.5465, allocations: 1.468 MB / 1.025 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001568/0.5467, allocations: 218.1 kB / 1.026 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.889/2.436, allocations: 3.938 kB / 1.026 GB, free: 9.438 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