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.006613/0.006613, allocations: 97.92 kB / 15.73 MB, free: 6.062 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.001459/0.001459, allocations: 194.8 kB / 16.68 MB, free: 5.969 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: 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 2.602/2.602, allocations: 437 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 59.91 kB / 1.018 GB, free: 9.867 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7469/0.7483, allocations: 151.6 MB / 1.166 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.002242/0.7505, allocations: 0.829 MB / 1.167 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001422/0.7507, allocations: 43.78 kB / 1.167 GB, free: 3.02 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.797e-05/0.7508, allocations: 0 / 1.167 GB, free: 3.02 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.186e-05/0.7508, allocations: 7.875 kB / 1.167 GB, free: 3.012 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.591e-05/0.7509, allocations: 11.92 kB / 1.167 GB, free: 3 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.716e-05/0.751, allocations: 15.98 kB / 1.167 GB, free: 2.984 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.7511, allocations: 63.78 kB / 1.167 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.7513, allocations: 43.98 kB / 1.167 GB, free: 2.879 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.769e-05/0.7513, allocations: 31.84 kB / 1.167 GB, free: 2.848 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.131e-05/0.7514, allocations: 23.86 kB / 1.167 GB, free: 2.824 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.7514, allocations: 11.94 kB / 1.167 GB, free: 2.812 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.756e-06/0.7514, allocations: 4 kB / 1.167 GB, free: 2.809 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.112e-05/0.7515, allocations: 11.98 kB / 1.167 GB, free: 2.797 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.251e-05/0.7515, allocations: 43.73 kB / 1.167 GB, free: 2.754 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.7516, allocations: 75.72 kB / 1.167 GB, free: 2.684 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.7516, allocations: 0 / 1.167 GB, free: 2.684 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.063e-06/0.7517, allocations: 0 / 1.167 GB, free: 2.684 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.7517, allocations: 0 / 1.167 GB, free: 2.684 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.0004469/0.7521, allocations: 383.1 kB / 1.168 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.7522, allocations: 8.922 kB / 1.168 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.741e-05/0.7522, allocations: 38.75 kB / 1.168 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.857e-05/0.7522, allocations: 12.84 kB / 1.168 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.7525, allocations: 200.2 kB / 1.168 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.7525, allocations: 8.375 kB / 1.168 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.7525, allocations: 8.375 kB / 1.168 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.7527, allocations: 86.39 kB / 1.168 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.7527, allocations: 3.938 kB / 1.168 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.7527, allocations: 8 kB / 1.168 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.7527, allocations: 3.938 kB / 1.168 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.496e-05/0.7528, allocations: 35.92 kB / 1.168 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005255/0.7533, allocations: 436.7 kB / 1.169 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.566e-05/0.7534, allocations: 45.27 kB / 1.169 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.421e-05/0.7535, allocations: 17.84 kB / 1.169 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.134e-06/0.7535, allocations: 8 kB / 1.169 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.7535, allocations: 30.56 kB / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.7535, allocations: 0 / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001686/0.7537, allocations: 57.52 kB / 1.169 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.7537, allocations: 85.05 kB / 1.169 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.7539, allocations: 160.9 kB / 1.169 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.7539, allocations: 37.64 kB / 1.169 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.672e-05/0.754, allocations: 100.1 kB / 1.169 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.049e-05/0.754, allocations: 11.92 kB / 1.169 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.138e-05/0.754, allocations: 17.72 kB / 1.169 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.838e-05/0.7541, allocations: 310.8 kB / 1.169 GB, free: 372 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.137e-05/0.7542, allocations: 15.98 kB / 1.169 GB, free: 356 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.124e-05/0.7542, allocations: 17.72 kB / 1.169 GB, free: 332 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.216e-05/0.7542, allocations: 29.72 kB / 1.169 GB, free: 296 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.7542, allocations: 0 / 1.169 GB, free: 296 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.762e-05/0.7543, allocations: 65.53 kB / 1.169 GB, free: 224 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.7544, allocations: 7.938 kB / 1.17 GB, free: 216 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.7544, allocations: 4 kB / 1.17 GB, free: 212 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.7544, allocations: 0 / 1.17 GB, free: 212 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.819e-05/0.7545, allocations: 4 kB / 1.17 GB, free: 208 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.339e-06/0.7545, allocations: 0 / 1.17 GB, free: 208 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.291e-05/0.7545, allocations: 12 kB / 1.17 GB, free: 196 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.7545, allocations: 0 / 1.17 GB, free: 196 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 7.696e-05/0.7546, allocations: 121.8 kB / 1.17 GB, free: 64 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.473e-05/0.7546, allocations: 11.89 kB / 1.17 GB, free: 52 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/0.7547, allocations: 7.969 kB / 1.17 GB, free: 36 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.7547, allocations: 3.984 kB / 1.17 GB, free: 32 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.7547, allocations: 0 / 1.17 GB, free: 32 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.7547, allocations: 4 kB / 1.17 GB, free: 28 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003881/0.7551, allocations: 474.7 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.7551, allocations: 4 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.85e-05/0.7551, allocations: 0 / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.7552, allocations: 7.984 kB / 1.17 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.7552, allocations: 0 / 1.17 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.7552, allocations: 0 / 1.17 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.7552, allocations: 3.938 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.709e-05/0.7553, allocations: 81.95 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.226e-05/0.7553, allocations: 89.05 kB / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.7553, allocations: 0 / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.257e-05/0.7554, allocations: 7.938 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.498e-05/0.7554, allocations: 3.938 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-06/0.7554, allocations: 0 / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.483e-05/0.7555, allocations: 121.5 kB / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7555, allocations: 4 kB / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001939/0.7557, allocations: 12 kB / 1.17 GB, free: 15.13 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.0003716/0.7561, allocations: 0.6093 MB / 1.171 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 9.084e-05/0.7562, allocations: 23.95 kB / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7562, allocations: 0 / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.339e-05/0.7562, allocations: 8 kB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001561/0.7564, allocations: 8 kB / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.7575, allocations: 1.334 MB / 1.172 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.7577, allocations: 0.6963 MB / 1.173 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.133e-05/0.7578, allocations: 8.422 kB / 1.173 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.333e-05/0.7578, allocations: 23.44 kB / 1.173 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of SimCode: time 3.31e-07/0.7578, allocations: 0 / 1.173 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0169/0.7747, allocations: 1.578 MB / 1.175 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.204/7.979, allocations: 7.953 kB / 1.175 GB, free: 10.78 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