Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.From_cfm,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_10_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.0089/0.0089, allocations: 99.41 kB / 15.73 MB, free: 6.008 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.002162/0.002162, allocations: 191.1 kB / 16.67 MB, free: 5.934 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.405/2.405, allocations: 222.9 MB / 240.4 MB, free: 15.15 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 4.572/4.572, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002801/0.002801, allocations: 64.14 kB / 1.018 GB, free: 9.895 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.186/1.189, allocations: 151.6 MB / 1.166 GB, free: 3.918 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.003489/1.193, allocations: 0.8233 MB / 1.167 GB, free: 3.094 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000194/1.193, allocations: 47.78 kB / 1.167 GB, free: 3.047 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.403e-05/1.193, allocations: 4 kB / 1.167 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 6.613e-05/1.193, allocations: 11.86 kB / 1.167 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001215/1.193, allocations: 7.875 kB / 1.167 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 9.096e-05/1.193, allocations: 19.98 kB / 1.167 GB, free: 3.004 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002025/1.194, allocations: 59.84 kB / 1.167 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002514/1.194, allocations: 43.97 kB / 1.167 GB, free: 2.902 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.81e-05/1.194, allocations: 31.8 kB / 1.167 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.499e-05/1.194, allocations: 27.84 kB / 1.167 GB, free: 2.844 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/1.194, allocations: 4 kB / 1.167 GB, free: 2.84 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.547e-05/1.194, allocations: 8 kB / 1.167 GB, free: 2.832 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.735e-05/1.194, allocations: 11.94 kB / 1.167 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.618e-05/1.194, allocations: 35.8 kB / 1.167 GB, free: 2.785 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002126/1.194, allocations: 79.23 kB / 1.167 GB, free: 2.711 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/1.194, allocations: 4 kB / 1.167 GB, free: 2.707 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.966e-06/1.194, allocations: 0 / 1.167 GB, free: 2.707 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.734e-06/1.194, allocations: 0 / 1.167 GB, free: 2.707 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.0007551/1.195, allocations: 383.1 kB / 1.168 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.627e-05/1.195, allocations: 8.922 kB / 1.168 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.267e-05/1.195, allocations: 42.75 kB / 1.168 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.204e-05/1.195, allocations: 12.84 kB / 1.168 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000365/1.196, allocations: 192.2 kB / 1.168 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/1.196, allocations: 8.375 kB / 1.168 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/1.196, allocations: 8.375 kB / 1.168 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002612/1.196, allocations: 98.33 kB / 1.168 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/1.196, allocations: 3.938 kB / 1.168 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/1.196, allocations: 0 / 1.168 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/1.196, allocations: 4 kB / 1.168 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/1.196, allocations: 39.92 kB / 1.168 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008285/1.197, allocations: 436.7 kB / 1.169 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.708e-05/1.197, allocations: 45.25 kB / 1.169 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.347e-05/1.197, allocations: 13.78 kB / 1.169 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.258e-06/1.197, allocations: 0 / 1.169 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.438e-05/1.197, allocations: 38.56 kB / 1.169 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/1.197, allocations: 4 kB / 1.169 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.000254/1.198, allocations: 57.52 kB / 1.169 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.211e-05/1.198, allocations: 81.05 kB / 1.169 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002188/1.198, allocations: 160.9 kB / 1.169 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/1.198, allocations: 25.7 kB / 1.169 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 9.418e-05/1.198, allocations: 104.3 kB / 1.169 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/1.198, allocations: 11.94 kB / 1.169 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.68e-05/1.198, allocations: 13.72 kB / 1.169 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001842/1.198, allocations: 322.8 kB / 1.169 GB, free: 396 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.59e-05/1.198, allocations: 4 kB / 1.169 GB, free: 392 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.811e-05/1.199, allocations: 17.72 kB / 1.169 GB, free: 368 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.455e-05/1.199, allocations: 33.59 kB / 1.169 GB, free: 328 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/1.199, allocations: 0 / 1.169 GB, free: 328 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001302/1.199, allocations: 69.53 kB / 1.169 GB, free: 252 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/1.199, allocations: 10.44 kB / 1.17 GB, free: 244 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/1.199, allocations: 0 / 1.17 GB, free: 244 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/1.199, allocations: 0 / 1.17 GB, free: 244 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.971e-05/1.199, allocations: 8 kB / 1.17 GB, free: 236 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/1.199, allocations: 0 / 1.17 GB, free: 236 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.956e-05/1.199, allocations: 11.92 kB / 1.17 GB, free: 224 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/1.199, allocations: 4.062 kB / 1.17 GB, free: 220 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.0001128/1.199, allocations: 117.8 kB / 1.17 GB, free: 92 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.487e-05/1.199, allocations: 11.89 kB / 1.17 GB, free: 80 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.722e-05/1.199, allocations: 11.97 kB / 1.17 GB, free: 60 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/1.199, allocations: 3.984 kB / 1.17 GB, free: 56 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/1.199, allocations: 0 / 1.17 GB, free: 56 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/1.199, allocations: 0 / 1.17 GB, free: 56 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006354/1.2, allocations: 474.7 kB / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/1.2, allocations: 3.984 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.651e-05/1.2, allocations: 4 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/1.2, allocations: 0 / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/1.2, allocations: 0 / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/1.2, allocations: 4 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/1.2, allocations: 3.938 kB / 1.17 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/1.2, allocations: 81.95 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.49e-05/1.2, allocations: 89.05 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/1.2, allocations: 0 / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.632e-05/1.2, allocations: 0 / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.97e-05/1.2, allocations: 4 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/1.2, allocations: 4 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001469/1.201, allocations: 121.9 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.9e-07/1.201, allocations: 0 / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000282/1.201, allocations: 4.031 kB / 1.17 GB, free: 15.18 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.000599/1.201, allocations: 0.6248 MB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001836/1.202, allocations: 23.92 kB / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.202, allocations: 4.156 kB / 1.171 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.641e-05/1.202, allocations: 4 kB / 1.171 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/1.202, allocations: 11.94 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/1.204, allocations: 1.343 MB / 1.172 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/1.204, allocations: 0.6924 MB / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.661e-05/1.204, allocations: 8.422 kB / 1.173 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.823e-05/1.205, allocations: 23.44 kB / 1.173 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of SimCode: time 4.11e-07/1.205, allocations: 0 / 1.173 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03276/1.237, allocations: 1.577 MB / 1.175 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/13.34, allocations: 3.953 kB / 1.175 GB, free: 10.8 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches