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.00737/0.00737, allocations: 97.98 kB / 15.73 MB, free: 5.602 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.001775/0.001775, allocations: 195.3 kB / 16.68 MB, free: 5.523 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 15.12 MB / 206.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.784/2.784, allocations: 437 MB / 0.7105 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 67.83 kB / 1.018 GB, free: 9.844 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6834/0.6853, allocations: 151.6 MB / 1.166 GB, free: 3.723 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.00193/0.6873, allocations: 0.8349 MB / 1.167 GB, free: 2.887 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 9.865e-05/0.6874, allocations: 31.86 kB / 1.167 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.464e-05/0.6875, allocations: 0 / 1.167 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.707e-05/0.6875, allocations: 11.86 kB / 1.167 GB, free: 2.844 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.454e-05/0.6876, allocations: 11.88 kB / 1.167 GB, free: 2.832 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.508e-05/0.6877, allocations: 19.98 kB / 1.167 GB, free: 2.812 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.6878, allocations: 63.83 kB / 1.167 GB, free: 2.75 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.6879, allocations: 43.97 kB / 1.167 GB, free: 2.707 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.569e-05/0.688, allocations: 27.81 kB / 1.167 GB, free: 2.68 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.523e-05/0.6881, allocations: 35.84 kB / 1.167 GB, free: 2.645 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.6881, allocations: 4 kB / 1.167 GB, free: 2.641 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.179e-05/0.6881, allocations: 8 kB / 1.167 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.772e-05/0.6881, allocations: 7.938 kB / 1.167 GB, free: 2.625 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.601e-05/0.6882, allocations: 39.73 kB / 1.167 GB, free: 2.586 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.6883, allocations: 75.3 kB / 1.167 GB, free: 2.516 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.6883, allocations: 0 / 1.167 GB, free: 2.516 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6883, allocations: 4 kB / 1.167 GB, free: 2.512 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.6883, allocations: 0 / 1.167 GB, free: 2.512 MB / 0.8887 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.000449/0.6888, allocations: 383.1 kB / 1.168 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.6888, allocations: 12.92 kB / 1.168 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.897e-05/0.6889, allocations: 34.75 kB / 1.168 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.723e-05/0.6889, allocations: 16.84 kB / 1.168 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.6891, allocations: 196.1 kB / 1.168 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.6892, allocations: 8.375 kB / 1.168 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.6892, allocations: 4.375 kB / 1.168 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.6893, allocations: 94.39 kB / 1.168 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.6894, allocations: 7.938 kB / 1.168 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.6894, allocations: 4 kB / 1.168 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.6894, allocations: 0 / 1.168 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.751e-05/0.6895, allocations: 35.92 kB / 1.168 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000569/0.6901, allocations: 440.7 kB / 1.169 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.002e-05/0.6901, allocations: 45.19 kB / 1.169 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.953e-05/0.6902, allocations: 21.84 kB / 1.169 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.582e-06/0.6902, allocations: 3.938 kB / 1.169 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.6902, allocations: 34.56 kB / 1.169 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.6902, allocations: 0 / 1.169 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001721/0.6904, allocations: 65.61 kB / 1.169 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/0.6905, allocations: 77.11 kB / 1.169 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.6906, allocations: 160.9 kB / 1.169 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.6907, allocations: 25.7 kB / 1.169 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.104e-05/0.6907, allocations: 100.1 kB / 1.169 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 9.337e-06/0.6908, allocations: 7.953 kB / 1.169 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-05/0.6908, allocations: 13.72 kB / 1.169 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.691, allocations: 323 kB / 1.169 GB, free: 196 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.032e-05/0.691, allocations: 12 kB / 1.169 GB, free: 184 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.191e-05/0.691, allocations: 21.59 kB / 1.169 GB, free: 156 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.503e-05/0.6911, allocations: 25.72 kB / 1.169 GB, free: 124 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/0.6911, allocations: 0 / 1.169 GB, free: 124 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.368e-05/0.6912, allocations: 65.53 kB / 1.169 GB, free: 52 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.6912, allocations: 8 kB / 1.169 GB, free: 44 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.6912, allocations: 4 kB / 1.17 GB, free: 40 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.6912, allocations: 0 / 1.17 GB, free: 40 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.733e-05/0.6913, allocations: 8 kB / 1.17 GB, free: 32 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.6913, allocations: 0 / 1.17 GB, free: 32 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.168e-05/0.6913, allocations: 7.922 kB / 1.17 GB, free: 24 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.6914, allocations: 8 kB / 1.17 GB, free: 16 kB / 0.8887 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.0001082/0.6915, allocations: 109.8 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.653e-05/0.6915, allocations: 15.89 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.575e-05/0.6915, allocations: 7.969 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.6916, allocations: 7.984 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.6916, allocations: 0 / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.6916, allocations: 0 / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004462/0.692, allocations: 478.7 kB / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.692, allocations: 0 / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.272e-05/0.6921, allocations: 4 kB / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.6921, allocations: 3.938 kB / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-06/0.6921, allocations: 4.062 kB / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.6921, allocations: 0 / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.6921, allocations: 4 kB / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.698e-05/0.6922, allocations: 77.88 kB / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.35e-05/0.6923, allocations: 89.06 kB / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.6923, allocations: 0 / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.075e-05/0.6923, allocations: 4.031 kB / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.315e-05/0.6923, allocations: 0 / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.6923, allocations: 4 kB / 1.17 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001042/0.6925, allocations: 121.6 kB / 1.17 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6925, allocations: 4 kB / 1.17 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001915/0.6927, allocations: 4 kB / 1.17 GB, free: 14.98 MB / 0.9044 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.0004374/0.6931, allocations: 0.621 MB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.677e-05/0.6932, allocations: 23.92 kB / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.6932, allocations: 0 / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.511e-05/0.6932, allocations: 11.94 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/0.6934, allocations: 6.5 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.6947, allocations: 1.344 MB / 1.172 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.6951, allocations: 0.6924 MB / 1.173 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.229e-05/0.6951, allocations: 8.422 kB / 1.173 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.546e-05/0.6952, allocations: 23.44 kB / 1.173 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of SimCode: time 2.9e-07/0.6952, allocations: 4 kB / 1.173 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02249/0.7177, allocations: 1.568 MB / 1.175 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.852/8.57, allocations: 8.859 kB / 1.175 GB, free: 10.61 MB / 0.9044 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/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