Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_11_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.004958/0.004958, allocations: 98.77 kB / 15.73 MB, free: 6.066 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.001274/0.001274, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.475/1.475, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.799/2.799, allocations: 469.8 MB / 0.7425 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 67.83 kB / 1.065 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.918/0.9198, allocations: 159.1 MB / 1.22 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.001987/0.9218, allocations: 0.8205 MB / 1.221 GB, free: 1.262 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001112/0.922, allocations: 39.78 kB / 1.221 GB, free: 1.223 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.22e-05/0.922, allocations: 4 kB / 1.221 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.075e-05/0.9221, allocations: 11.86 kB / 1.221 GB, free: 1.207 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.073e-05/0.9222, allocations: 7.938 kB / 1.221 GB, free: 1.199 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.684e-05/0.9222, allocations: 15.98 kB / 1.221 GB, free: 1.184 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.9223, allocations: 71.78 kB / 1.221 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.9225, allocations: 47.84 kB / 1.221 GB, free: 1.066 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.945e-05/0.9225, allocations: 27.86 kB / 1.221 GB, free: 1.039 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.378e-05/0.9226, allocations: 31.83 kB / 1.221 GB, free: 1.008 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.9226, allocations: 8 kB / 1.221 GB, free: 1 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.278e-05/0.9227, allocations: 8 kB / 1.221 GB, free: 0.9922 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.941e-05/0.9227, allocations: 11.94 kB / 1.221 GB, free: 0.9805 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.184e-05/0.9227, allocations: 35.73 kB / 1.221 GB, free: 0.9453 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.9229, allocations: 71.38 kB / 1.221 GB, free: 0.8789 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.9229, allocations: 0 / 1.221 GB, free: 0.8789 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.854e-06/0.9229, allocations: 3.938 kB / 1.221 GB, free: 0.875 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.9229, allocations: 0 / 1.221 GB, free: 0.875 MB / 0.9356 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.0004656/0.9234, allocations: 379.1 kB / 1.222 GB, free: 464 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.9234, allocations: 15.97 kB / 1.222 GB, free: 448 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.197e-05/0.9235, allocations: 38.75 kB / 1.222 GB, free: 400 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.985e-05/0.9235, allocations: 12.84 kB / 1.222 GB, free: 388 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.9237, allocations: 204 kB / 1.222 GB, free: 144 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.9238, allocations: 8.375 kB / 1.222 GB, free: 136 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.9238, allocations: 8.375 kB / 1.222 GB, free: 128 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.9239, allocations: 91.86 kB / 1.222 GB, free: 24 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.924, allocations: 3.938 kB / 1.222 GB, free: 20 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.924, allocations: 8 kB / 1.222 GB, free: 12 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.99e-05/0.924, allocations: 4 kB / 1.222 GB, free: 8 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.288e-05/0.9241, allocations: 36 kB / 1.222 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000607/0.9247, allocations: 436.6 kB / 1.223 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.837e-05/0.9248, allocations: 41.34 kB / 1.223 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.955e-05/0.9248, allocations: 21.78 kB / 1.223 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.893e-06/0.9249, allocations: 0 / 1.223 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.9249, allocations: 34.56 kB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 4.368e-06/0.9249, allocations: 0 / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001818/0.9251, allocations: 57.52 kB / 1.223 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.9252, allocations: 85.3 kB / 1.223 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.9253, allocations: 161.1 kB / 1.223 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.9253, allocations: 25.7 kB / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.488e-05/0.9254, allocations: 104.1 kB / 1.223 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.039e-05/0.9254, allocations: 7.953 kB / 1.223 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/0.9255, allocations: 21.67 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.9257, allocations: 314.8 kB / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.015e-05/0.9257, allocations: 8 kB / 1.223 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.625e-05/0.9257, allocations: 21.72 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.446e-05/0.9258, allocations: 21.72 kB / 1.223 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.9258, allocations: 0 / 1.223 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.197e-05/0.9259, allocations: 65.58 kB / 1.223 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.9259, allocations: 9.656 kB / 1.223 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.9259, allocations: 0 / 1.223 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.9259, allocations: 12 kB / 1.224 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.084e-05/0.926, allocations: 8 kB / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.926, allocations: 0 / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.14e-05/0.926, allocations: 7.938 kB / 1.224 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.926, allocations: 0 / 1.224 GB, free: 14.37 MB / 0.9512 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.977e-05/0.9262, allocations: 125.7 kB / 1.224 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.448e-05/0.9262, allocations: 11.89 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.481e-05/0.9262, allocations: 7.875 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.9262, allocations: 0 / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.9263, allocations: 4 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.9263, allocations: 0 / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004518/0.9267, allocations: 478.6 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.9267, allocations: 0 / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.235e-05/0.9268, allocations: 7.984 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.9268, allocations: 0 / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.9268, allocations: 0 / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.9268, allocations: 8.062 kB / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.9268, allocations: 0 / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.909e-05/0.9269, allocations: 77.89 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.34e-05/0.927, allocations: 89.05 kB / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.927, allocations: 3.938 kB / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.908e-05/0.927, allocations: 0 / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.516e-05/0.927, allocations: 8.125 kB / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.927, allocations: 3.984 kB / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001085/0.9271, allocations: 119.2 kB / 1.224 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9272, allocations: 0 / 1.224 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001898/0.9273, allocations: 12 kB / 1.224 GB, free: 13.32 MB / 0.9512 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.0004594/0.9278, allocations: 0.6098 MB / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 9.383e-05/0.9279, allocations: 23.92 kB / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.9279, allocations: 0 / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.289e-05/0.9279, allocations: 8 kB / 1.225 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000157/0.9281, allocations: 8 kB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.9294, allocations: 1.333 MB / 1.226 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.9297, allocations: 0.6889 MB / 1.227 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.311e-05/0.9298, allocations: 8.422 kB / 1.227 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.846e-05/0.9298, allocations: 27.38 kB / 1.227 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of SimCode: time 2.71e-07/0.9298, allocations: 4 kB / 1.227 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02229/0.9521, allocations: 1.575 MB / 1.229 GB, free: 8.977 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.704/8.656, allocations: 15.16 kB / 1.229 GB, free: 8.965 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches