Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_9_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.009795/0.009795, allocations: 104.7 kB / 15.74 MB, free: 6.488 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.001763/0.001763, allocations: 197.5 kB / 16.67 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.552/2.552, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 4.356/4.356, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002308/0.002308, allocations: 67.42 kB / 0.9504 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4027/0.405, allocations: 140.4 MB / 1.087 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.003125/0.4082, allocations: 0.8235 MB / 1.088 GB, free: 1.145 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001881/0.4084, allocations: 47.78 kB / 1.088 GB, free: 1.098 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.952e-05/0.4085, allocations: 0 / 1.088 GB, free: 1.098 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 6.98e-05/0.4086, allocations: 11.86 kB / 1.088 GB, free: 1.086 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.000144/0.4088, allocations: 7.938 kB / 1.088 GB, free: 1.078 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 7.742e-05/0.4089, allocations: 15.98 kB / 1.088 GB, free: 1.062 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.409, allocations: 63.78 kB / 1.088 GB, free: 1 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002122/0.4092, allocations: 43.95 kB / 1.088 GB, free: 0.957 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.115e-05/0.4093, allocations: 23.88 kB / 1.088 GB, free: 0.9336 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.546e-05/0.4094, allocations: 31.84 kB / 1.089 GB, free: 0.9023 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.701e-05/0.4094, allocations: 8 kB / 1.089 GB, free: 0.8945 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.047e-05/0.4095, allocations: 8 kB / 1.089 GB, free: 0.8867 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.241e-05/0.4095, allocations: 15.92 kB / 1.089 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.809e-05/0.4095, allocations: 47.67 kB / 1.089 GB, free: 0.8242 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.4097, allocations: 62.53 kB / 1.089 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.4097, allocations: 0 / 1.089 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.605e-06/0.4097, allocations: 0 / 1.089 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.12e-05/0.4097, allocations: 4 kB / 1.089 GB, free: 0.7617 MB / 0.8419 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.000554/0.4103, allocations: 376.1 kB / 1.089 GB, free: 352 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.4103, allocations: 16.03 kB / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.908e-05/0.4104, allocations: 38.75 kB / 1.089 GB, free: 288 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.833e-05/0.4104, allocations: 16.75 kB / 1.089 GB, free: 272 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.4107, allocations: 196.1 kB / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.4107, allocations: 4.375 kB / 1.089 GB, free: 32 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.4108, allocations: 8.375 kB / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000217/0.411, allocations: 89.83 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.411, allocations: 7.875 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.411, allocations: 8 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.411, allocations: 0 / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.078e-05/0.4111, allocations: 39.92 kB / 1.089 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006594/0.4118, allocations: 432.7 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.833e-05/0.4119, allocations: 41.09 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.011e-05/0.412, allocations: 21.84 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-06/0.412, allocations: 0 / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.064e-05/0.4121, allocations: 38.5 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.754e-06/0.4121, allocations: 0 / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002665/0.4123, allocations: 57.53 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.891e-05/0.4125, allocations: 85.3 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/0.4127, allocations: 160.9 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.4127, allocations: 25.7 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.4129, allocations: 104 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.362e-05/0.4129, allocations: 3.906 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.444e-05/0.4129, allocations: 17.72 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001996/0.4132, allocations: 322.8 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.902e-05/0.4132, allocations: 4 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.804e-05/0.4132, allocations: 21.72 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.258e-05/0.4133, allocations: 25.7 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4134, allocations: 0 / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001463/0.4135, allocations: 57.55 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.4135, allocations: 11.94 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.4136, allocations: 0 / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.4136, allocations: 4.062 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.4137, allocations: 15.98 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.4137, allocations: 0 / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.174e-05/0.4138, allocations: 7.844 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.679e-06/0.4138, allocations: 7.938 kB / 1.091 GB, free: 14.27 MB / 0.8575 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 0.0001566/0.414, allocations: 113.8 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.389e-05/0.4141, allocations: 11.84 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.809e-05/0.4142, allocations: 7.875 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.4142, allocations: 4 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.4142, allocations: 4 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.4142, allocations: 3.984 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007405/0.415, allocations: 470.8 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.415, allocations: 0 / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.51e-05/0.415, allocations: 4 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.4151, allocations: 0 / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.4151, allocations: 96 / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.4151, allocations: 4.062 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-06/0.4151, allocations: 4 kB / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.4153, allocations: 89.75 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.4154, allocations: 81.02 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.4155, allocations: 7.938 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.902e-05/0.4155, allocations: 0 / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.384e-05/0.4156, allocations: 8.016 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.4156, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001622/0.4157, allocations: 125 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.81e-07/0.4158, allocations: 0 / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003903/0.4162, allocations: 11.98 kB / 1.092 GB, free: 13.23 MB / 0.8575 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.0006227/0.4168, allocations: 0.6132 MB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001463/0.417, allocations: 23.92 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.417, allocations: 0 / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.149e-05/0.417, allocations: 4 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.4173, allocations: 9.969 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.4194, allocations: 1.338 MB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.4198, allocations: 0.6929 MB / 1.094 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.873e-05/0.4198, allocations: 8.422 kB / 1.094 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.293e-05/0.4199, allocations: 23.42 kB / 1.094 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of SimCode: time 4.2e-07/0.42, allocations: 0 / 1.094 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03334/0.4533, allocations: 1.569 MB / 1.096 GB, free: 8.887 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/12.68, allocations: 8.062 kB / 1.096 GB, free: 8.879 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches