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.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.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.001226/0.001226, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001236/0.001236, allocations: 192.2 kB / 16.26 MB, free: 6.625 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.236/1.236, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.349/2.349, allocations: 437 MB / 0.7101 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 63.91 kB / 0.8689 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5082/0.5094, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.001754/0.5112, allocations: 0.886 MB / 1.018 GB, free: 1.828 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 9.324e-05/0.5113, allocations: 43.78 kB / 1.018 GB, free: 1.785 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.838e-05/0.5113, allocations: 0 / 1.018 GB, free: 1.785 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.506e-05/0.5114, allocations: 3.938 kB / 1.018 GB, free: 1.781 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.374e-05/0.5114, allocations: 11.92 kB / 1.018 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.79e-05/0.5115, allocations: 12 kB / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.219e-05/0.5116, allocations: 63.84 kB / 1.018 GB, free: 1.695 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.5117, allocations: 39.97 kB / 1.018 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.069e-05/0.5117, allocations: 35.78 kB / 1.018 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.186e-05/0.5118, allocations: 27.86 kB / 1.018 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.5118, allocations: 4 kB / 1.018 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.658e-06/0.5118, allocations: 8 kB / 1.018 GB, free: 1.582 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/0.5118, allocations: 15.92 kB / 1.018 GB, free: 1.566 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.459e-05/0.5119, allocations: 35.75 kB / 1.018 GB, free: 1.531 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.16e-05/0.512, allocations: 74 kB / 1.018 GB, free: 1.461 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.512, allocations: 0 / 1.018 GB, free: 1.461 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.433e-06/0.512, allocations: 0 / 1.018 GB, free: 1.461 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.512, allocations: 0 / 1.018 GB, free: 1.461 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.0003339/0.5123, allocations: 379.2 kB / 1.019 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.5124, allocations: 8.031 kB / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.057e-05/0.5124, allocations: 42.73 kB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.191e-05/0.5124, allocations: 16.78 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.5126, allocations: 192.2 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.5126, allocations: 8.375 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.5126, allocations: 12.36 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.5128, allocations: 91.8 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.5128, allocations: 3.938 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.5128, allocations: 8 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.5128, allocations: 3.938 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.23e-05/0.5129, allocations: 35.98 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004187/0.5133, allocations: 432.6 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.171e-05/0.5133, allocations: 33.16 kB / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.018e-05/0.5134, allocations: 29.83 kB / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 7.644e-06/0.5134, allocations: 0 / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.5134, allocations: 38.58 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.5134, allocations: 0 / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.000135/0.5136, allocations: 53.48 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.5136, allocations: 85.36 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.5137, allocations: 166.2 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.828e-06/0.5137, allocations: 25.7 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.92e-05/0.5138, allocations: 112 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.252e-06/0.5138, allocations: 3.906 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.741e-05/0.5138, allocations: 17.7 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.281e-05/0.5139, allocations: 318.8 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.555e-05/0.5139, allocations: 7.984 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.818e-05/0.514, allocations: 21.72 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.525e-05/0.514, allocations: 29.66 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.514, allocations: 0 / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.776e-05/0.5141, allocations: 53.59 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.5141, allocations: 14.28 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.5141, allocations: 0 / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.556e-06/0.5141, allocations: 4.062 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.192e-05/0.5142, allocations: 7.938 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.5142, allocations: 4 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.702e-05/0.5142, allocations: 7.906 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.5142, allocations: 8 kB / 1.02 GB, free: 14.96 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.007e-05/0.5143, allocations: 110.4 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.882e-05/0.5143, allocations: 11.84 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.849e-05/0.5144, allocations: 11.86 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.5144, allocations: 0 / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.5144, allocations: 8 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.5144, allocations: 3.938 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003089/0.5147, allocations: 470.8 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.5147, allocations: 3.938 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.738e-05/0.5147, allocations: 4 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.5147, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.5148, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.5148, allocations: 4.062 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5148, allocations: 3.984 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.988e-05/0.5148, allocations: 77.78 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.112e-05/0.5149, allocations: 96.94 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.5149, allocations: 4 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.944e-05/0.5149, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.2e-05/0.5149, allocations: 4.031 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.515, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.334e-05/0.515, 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.515, allocations: 0 / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001747/0.5152, allocations: 12 kB / 1.021 GB, free: 13.92 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.0002711/0.5155, allocations: 0.617 MB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.309e-05/0.5156, allocations: 12 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.5156, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.054e-05/0.5156, 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.0001376/0.5157, allocations: 13.95 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009142/0.5166, allocations: 1.338 MB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001852/0.5168, allocations: 0.6963 MB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.835e-05/0.5169, allocations: 8.422 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.566e-05/0.5169, allocations: 23.44 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.5169, allocations: 0 / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02628/0.5432, allocations: 1.468 MB / 1.025 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/0.5434, allocations: 201 kB / 1.026 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.56/2.103, allocations: 7.438 kB / 1.026 GB, free: 9.441 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