Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.From_cfm,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_9_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.008407/0.008407, allocations: 101 kB / 15.73 MB, free: 6.047 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.001743/0.001743, allocations: 186.5 kB / 16.67 MB, free: 5.977 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 4.18 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 2.38/2.38, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 66.75 kB / 0.9504 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2731, allocations: 140.4 MB / 1.087 GB, free: 1.965 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.002078/0.2752, allocations: 0.8176 MB / 1.088 GB, free: 1.145 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001297/0.2754, allocations: 51.78 kB / 1.088 GB, free: 1.094 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.613e-05/0.2754, allocations: 0 / 1.088 GB, free: 1.094 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.828e-05/0.2755, allocations: 3.938 kB / 1.088 GB, free: 1.09 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.023e-05/0.2756, allocations: 15.8 kB / 1.088 GB, free: 1.074 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.8e-05/0.2756, allocations: 19.98 kB / 1.088 GB, free: 1.055 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000106/0.2758, allocations: 63.78 kB / 1.088 GB, free: 0.9922 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.2759, allocations: 43.97 kB / 1.088 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.764e-05/0.276, allocations: 23.86 kB / 1.089 GB, free: 0.9258 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.016e-05/0.276, allocations: 27.86 kB / 1.089 GB, free: 0.8984 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.276, allocations: 8 kB / 1.089 GB, free: 0.8906 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.172e-05/0.2761, allocations: 4 kB / 1.089 GB, free: 0.8867 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.156e-05/0.2761, allocations: 19.91 kB / 1.089 GB, free: 0.8672 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.774e-05/0.2761, allocations: 35.75 kB / 1.089 GB, free: 0.832 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000112/0.2762, allocations: 78.45 kB / 1.089 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2763, allocations: 0 / 1.089 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2763, allocations: 4 kB / 1.089 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.2763, allocations: 0 / 1.089 GB, free: 0.7539 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.0003951/0.2767, allocations: 376.1 kB / 1.089 GB, free: 344 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.2767, allocations: 8.031 kB / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.312e-05/0.2768, allocations: 42.73 kB / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.918e-05/0.2768, allocations: 12.75 kB / 1.089 GB, free: 272 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.277, allocations: 196.1 kB / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.277, allocations: 12.36 kB / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.277, allocations: 8.375 kB / 1.089 GB, free: 16 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.2772, allocations: 87.95 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.2772, allocations: 3.938 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-06/0.2772, allocations: 0 / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.2773, allocations: 7.984 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.625e-05/0.2773, allocations: 39.92 kB / 1.089 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005114/0.2779, allocations: 432.6 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.833e-05/0.2779, allocations: 45.23 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.476e-05/0.278, allocations: 17.78 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.278, allocations: 4 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.278, allocations: 34.56 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.203e-06/0.278, allocations: 0 / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001621/0.2782, allocations: 53.48 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.2782, allocations: 81.09 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.2784, allocations: 156.5 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.2784, allocations: 29.7 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.572e-05/0.2785, allocations: 100 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.848e-06/0.2785, allocations: 8.156 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.413e-05/0.2785, allocations: 21.7 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.874e-05/0.2786, allocations: 322.7 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.887e-05/0.2787, allocations: 15.92 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.887e-05/0.2787, allocations: 13.72 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.194e-05/0.2788, allocations: 29.72 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2788, allocations: 4 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.266e-05/0.2788, allocations: 57.53 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.2789, allocations: 9.969 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.2789, allocations: 8 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.2789, allocations: 0 / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.96e-05/0.279, allocations: 4 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.279, allocations: 0 / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.206e-05/0.279, allocations: 15.84 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.279, allocations: 0 / 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 9.667e-05/0.2792, allocations: 113.9 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.235e-05/0.2792, allocations: 15.84 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.025e-05/0.2793, allocations: 11.86 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.2793, allocations: 0 / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.2793, allocations: 0 / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.2793, allocations: 4 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005284/0.2798, allocations: 474.8 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.2799, allocations: 4 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.586e-05/0.2799, allocations: 3.938 kB / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.2799, allocations: 4 kB / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.2799, allocations: 0 / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.2799, allocations: 3.984 kB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2799, allocations: 0 / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.107e-05/0.28, allocations: 77.88 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.925e-05/0.2801, allocations: 93 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.2801, allocations: 0 / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.097e-05/0.2801, allocations: 0 / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.568e-06/0.2801, allocations: 4 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-06/0.2801, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.993e-05/0.2802, allocations: 121.5 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.553e-06/0.2802, allocations: 0 / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000191/0.2804, allocations: 11.94 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.0003409/0.2808, allocations: 0.6132 MB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.296e-05/0.2809, allocations: 23.88 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2809, allocations: 0 / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.077e-05/0.2809, allocations: 12.16 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.0001542/0.2811, allocations: 15.83 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.2823, allocations: 1.332 MB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.2825, allocations: 0.6929 MB / 1.094 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.568e-05/0.2826, 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 4.363e-05/0.2826, allocations: 23.44 kB / 1.094 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of SimCode: time 2.51e-07/0.2826, allocations: 0 / 1.094 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02008/0.3027, allocations: 1.578 MB / 1.096 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.156/7.459, allocations: 2.031 kB / 1.096 GB, free: 8.875 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_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_9_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches