Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_latest_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.001324/0.001328, 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.001402/0.001403, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.817/1.817, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.991/3.991, allocations: 461.9 MB / 0.7343 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002537/0.002537, allocations: 62.16 kB / 0.8987 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3615, allocations: 157.4 MB / 1.052 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.003531/0.3651, allocations: 0.8996 MB / 1.053 GB, free: 7.73 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001875/0.3653, allocations: 39.78 kB / 1.053 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.557e-05/0.3654, allocations: 4 kB / 1.053 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.342e-05/0.3655, allocations: 7.922 kB / 1.053 GB, free: 7.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.3656, allocations: 0 / 1.053 GB, free: 7.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 8.223e-05/0.3657, allocations: 20 kB / 1.053 GB, free: 7.66 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.3659, allocations: 63.78 kB / 1.053 GB, free: 7.598 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002061/0.3661, allocations: 39.97 kB / 1.053 GB, free: 7.559 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.47e-05/0.3662, allocations: 35.84 kB / 1.053 GB, free: 7.523 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.731e-05/0.3663, allocations: 23.86 kB / 1.054 GB, free: 7.5 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.96e-05/0.3664, allocations: 8 kB / 1.054 GB, free: 7.492 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.653e-05/0.3664, allocations: 4 kB / 1.054 GB, free: 7.488 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.475e-05/0.3664, allocations: 23.86 kB / 1.054 GB, free: 7.465 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.582e-05/0.3665, allocations: 39.73 kB / 1.054 GB, free: 7.426 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.3667, allocations: 67.98 kB / 1.054 GB, free: 7.359 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.3667, allocations: 0 / 1.054 GB, free: 7.359 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3667, allocations: 0 / 1.054 GB, free: 7.359 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.3667, allocations: 0 / 1.054 GB, free: 7.359 MB / 0.8106 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.0006069/0.3673, allocations: 375.3 kB / 1.054 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.608e-05/0.3674, allocations: 12.61 kB / 1.054 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.507e-05/0.3675, allocations: 42.75 kB / 1.054 GB, free: 6.879 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.776e-05/0.3676, allocations: 8.844 kB / 1.054 GB, free: 6.871 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003209/0.3679, allocations: 192.1 kB / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.3679, allocations: 12.22 kB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.368, allocations: 8.375 kB / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002514/0.3682, allocations: 97.52 kB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.3682, allocations: 3.938 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.3683, allocations: 0 / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.3683, allocations: 7.938 kB / 1.054 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.3684, allocations: 39.92 kB / 1.054 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008312/0.3693, allocations: 436.6 kB / 1.055 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.986e-05/0.3694, allocations: 45.23 kB / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.76e-05/0.3695, allocations: 13.78 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.3695, allocations: 0 / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.499e-05/0.3695, allocations: 38.56 kB / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 5.32e-06/0.3696, allocations: 7.984 kB / 1.055 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002749/0.3698, allocations: 53.48 kB / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/0.3699, allocations: 81.09 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/0.3701, allocations: 160.2 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.3702, allocations: 29.69 kB / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.937e-05/0.3703, allocations: 96.05 kB / 1.055 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.3703, allocations: 15.88 kB / 1.055 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.664e-05/0.3704, allocations: 21.97 kB / 1.055 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3706, allocations: 314.8 kB / 1.056 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.024e-05/0.3706, allocations: 7.984 kB / 1.056 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.856e-05/0.3706, allocations: 21.66 kB / 1.056 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.246e-05/0.3707, allocations: 21.72 kB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.3707, allocations: 0 / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001463/0.3709, allocations: 69.53 kB / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.3709, allocations: 7.938 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.3709, allocations: 0 / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/0.371, allocations: 4 kB / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.46e-05/0.3711, allocations: 4 kB / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.3711, allocations: 0 / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.607e-05/0.3711, allocations: 11.84 kB / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.3712, allocations: 0 / 1.056 GB, free: 4.875 MB / 0.8106 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.0001142/0.3713, allocations: 121.8 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.257e-05/0.3714, allocations: 15.83 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.729e-05/0.3714, allocations: 11.88 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.3715, allocations: 0 / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.3715, allocations: 0 / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3715, allocations: 0 / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006193/0.3721, allocations: 466.8 kB / 1.056 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3721, allocations: 64 / 1.056 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.828e-05/0.3722, allocations: 12 kB / 1.056 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.3722, allocations: 0 / 1.056 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.3722, allocations: 11.92 kB / 1.056 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.3722, allocations: 0 / 1.056 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3723, allocations: 3.938 kB / 1.056 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/0.3724, allocations: 77.84 kB / 1.056 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.46e-05/0.3725, allocations: 93.03 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.3726, allocations: 0 / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.975e-05/0.3726, allocations: 0 / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.611e-05/0.3726, allocations: 8 kB / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.3727, allocations: 0 / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001379/0.3728, allocations: 122.5 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3728, allocations: 0 / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003049/0.3731, allocations: 8 kB / 1.057 GB, free: 3.832 MB / 0.8106 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.0004977/0.3736, allocations: 0.617 MB / 1.057 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001274/0.3738, allocations: 19.94 kB / 1.057 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3738, allocations: 0 / 1.057 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.368e-05/0.3738, allocations: 8.203 kB / 1.057 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.3741, allocations: 13.09 kB / 1.057 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.3759, allocations: 1.338 MB / 1.059 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.3762, allocations: 0.6924 MB / 1.059 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.337e-05/0.3763, allocations: 8.422 kB / 1.059 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.759e-05/0.3764, allocations: 23.42 kB / 1.059 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of SimCode: time 3.4e-07/0.3764, allocations: 0 / 1.059 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.125/1.501, allocations: 1.467 MB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003111/1.502, allocations: 220.3 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.267/3.769, allocations: 0 / 1.061 GB, free: 15.36 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches